account default host {{ getenv "SMTP_HOST" }} from {{ getenv "MAIL_FROM" }} user {{ or (getenv "SMTP_USER") (getenv "MAIL_FROM") }} port {{ getenv "SMTP_PORT" }} {{ if eq (getenv "SMTP_OVERRIDE_FROM") "on" }} set_from_header on {{ end }} {{ if eq (getenv "SMTP_AUTH") "on" }} auth {{ getenv "SMTP_AUTH" }} passwordeval "cat /run/secrets/smtp_password" {{ end }} {{ if eq (getenv "SMTP_TLS") "on" }} tls {{ getenv "SMTP_TLS" }} tls_trust_file /etc/ssl/certs/ca-certificates.crt {{ end }}