elektrine/env/presets/mail.env
Maxfield Luke 454e80a8f8
Some checks failed
Deploy Docker Images / Build, push, and deploy (push) Failing after 19m8s
Smoke / Hello from Forgejo Actions (push) Successful in 1s
Initial commit
Fresh repository on git.elektrine.com/elektrine/elektrine.
2026-07-30 01:36:18 -04:00

20 lines
803 B
Bash

# Mail preset
# self_host.sh adds the email module and Docker email profile.
# Set this to the Haraka HTTP/API endpoint for production SMTP edge delivery.
# Same-server split deployments often use an internal/shared-network URL.
# HARAKA_BASE_URL=https://mail.example.com
# HARAKA_BASE_URL=http://haraka-outbound:8080
# Native mailbox/submission TLS for Elektrine's mail protocol container.
# MAIL_TLS_CERT_PATH=/opt/elektrine/certs/mail.crt
# MAIL_TLS_KEY_PATH=/opt/elektrine/certs/mail.key
# MAIL_TLS_MOUNT_DIR=/opt/elektrine/certs
# Prefer explicit Haraka location for reproducible two-repo deploys.
# HARAKA_DEPLOY_DIR=/opt/elektrine-haraka
# HARAKA_COMPOSE_FILES=compose.yml
# Optional custom-domain mail defaults.
# CUSTOM_DOMAIN_MX_HOST=mail.example.com
# CUSTOM_DOMAIN_DKIM_SELECTOR=default