| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- APP_PORT=3025
- APP_BASE_URL=https://mailhub.example.com
- ADMIN_USER=admin
- ADMIN_EMAIL=admin@example.com
- ADMIN_PASSWORD=change-this-admin-password
- SESSION_SECRET=change-this-long-random-session-secret
- # Legacy admin send token. New users should generate their own token in the web UI.
- API_TOKEN=change-this-legacy-api-token
- SUBMISSION_ENABLED=true
- SUBMISSION_HOST=smtp.mailhub.example.com
- SUBMISSION_BIND=0.0.0.0
- SUBMISSION_PORTS=25:smtp,587:smtp,465:smtps,2525:smtp
- SUBMISSION_ALT_PORT=2525
- SUBMISSION_ALLOW_INSECURE_AUTH=false
- SUBMISSION_TLS_CERT=/certs/mailhub.example.com.crt
- SUBMISSION_TLS_KEY=/certs/mailhub.example.com.key
- SUBMISSION_USERNAME=change-this-smtp-user
- SUBMISSION_PASSWORD=change-this-smtp-password
- # Default outbound identity used in SPF, HELO, and Postfix myhostname.
- MAIL_HOSTNAME=smtp.mailhub.example.com
- SENDING_IP=203.0.113.10
- # Extra SPF mechanisms to preserve coexistence with third-party senders.
- # Examples: include:spf.mailjet.com include:_netblocks.m.feishu.cn
- DEFAULT_SPF_MECHANISMS=
- DNS_RESOLVERS=1.1.1.1,8.8.8.8
- DNS_AUTO_CHECK_ENABLED=true
- DNS_AUTO_CHECK_INTERVAL_MS=60000
- DNS_AUTO_CHECK_LIMIT=25
- # SMTP service used by the web API. In docker-compose this is the internal Postfix service.
- SMTP_HOST=postfix
- SMTP_PORT=25
- SMTP_HELO=smtp.mailhub.example.com
- SEND_REQUIRES_VERIFIED=false
- DELIVERY_TRACKING_ENABLED=true
- POSTFIX_LOG_POLL_INTERVAL_MS=5000
- # DMARC defaults.
- DMARC_POLICY=none
- DMARC_RUA=
|