This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
wordpress/msmtp.conf.tmpl

16 lines
363 B
Cheetah
Raw Permalink Normal View History

2020-09-26 18:31:13 +00:00
account default
host {{ env "SMTP_HOST" }}
2020-09-27 19:27:08 +00:00
from {{ env "MAIL_FROM" }}
2021-06-02 06:36:52 +00:00
user {{ env "MAIL_FROM" }}
port {{ env "SMTP_PORT" }}
{{ 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 }}