You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace hardcoded 20MB SMTP message size limit with configurable option.
The new configuration allows users to adjust the maximum message size
accepted by the built-in SMTP server to match their mail server limits.
Changes:
- Add DEFAULT_MAX_SMTP_MESSAGE_SIZE constant (25MB default)
- Implement EENGINE_MAX_SMTP_MESSAGE_SIZE environment variable
- Add smtp.maxMessageSize configuration option
- Update help.txt with new --smtp.maxMessageSize option
- Add configuration example to default.toml
Configuration options (in priority order):
1. Environment variable: EENGINE_MAX_SMTP_MESSAGE_SIZE=35M
2. Config file: [smtp] maxMessageSize = "35M"
3. Command line: --smtp.maxMessageSize=35M
4. Default: 25MB
This addresses issues where users with larger mail server limits
(e.g., Exchange Online 35MB) were unable to send messages through
EmailEngine SMTP server due to the previous hardcoded 20MB limit.
0 commit comments