.env.example 1.1 KB

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