.env.example 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. APP_PORT=3025
  2. APP_BASE_URL=http://mail-send.ss5.xyz
  3. ADMIN_USER=admin
  4. ADMIN_EMAIL=admin@mailhub.local
  5. ADMIN_PASSWORD=change-this-admin-password
  6. SESSION_SECRET=change-this-long-random-session-secret
  7. # Legacy admin send token. New users should generate their own token in the web UI.
  8. API_TOKEN=change-this-legacy-api-token
  9. SUBMISSION_ENABLED=true
  10. SUBMISSION_HOST=in.ss5.xyz
  11. SUBMISSION_BIND=0.0.0.0
  12. SUBMISSION_PORTS=25:smtp,587:smtp,465:smtps,2525:smtp
  13. SUBMISSION_ALT_PORT=2525
  14. SUBMISSION_ALLOW_INSECURE_AUTH=false
  15. SUBMISSION_TLS_CERT=/certs/mail-send.ss5.xyz.crt
  16. SUBMISSION_TLS_KEY=/certs/mail-send.ss5.xyz.key
  17. SUBMISSION_USERNAME=change-this-smtp-user
  18. SUBMISSION_PASSWORD=change-this-smtp-password
  19. # Default outbound identity used in SPF, HELO, and Postfix myhostname.
  20. MAIL_HOSTNAME=in.ss5.xyz
  21. SENDING_IP=8.231.54.11
  22. # Extra SPF mechanisms to preserve coexistence with third-party senders.
  23. # Examples: include:spf.mailjet.com include:_netblocks.m.feishu.cn
  24. DEFAULT_SPF_MECHANISMS=include:spf.mailjet.com
  25. DNS_RESOLVERS=1.1.1.1,8.8.8.8
  26. # SMTP service used by the web API. In docker-compose this is the internal Postfix service.
  27. SMTP_HOST=postfix
  28. SMTP_PORT=25
  29. SMTP_HELO=in.ss5.xyz
  30. SEND_REQUIRES_VERIFIED=false
  31. # DMARC defaults.
  32. DMARC_POLICY=none
  33. DMARC_RUA=