defaults auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile /var/log/msmtp.log {% for account in smtp_accounts %} account {{ account.name }} host {{ account.host }} port 587 from {{ account.from }} user {{ account.user | default(account.from) }} password {{ account.password }} {% endfor %} account default : {{ smtp_default_account }} aliases /etc/aliases