Files
wordpress/msmtp.conf.tmpl
T
stevensting 5d891c88c7
continuous-integration/drone/push Build is failing
Revert "Fix lint issues and improve test suite resilience"
This reverts commit 90d44bd3bc.
2026-07-21 16:09:11 +02:00

20 lines
460 B
Cheetah

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