listen on localhost table aliases file:/etc/aliases table secrets file:/etc/smtpd-secret action "local" mbox alias {% for account in smtp_accounts %} action "{{ account.name }}_relay" relay host "smtps://{{ account.name }}@{{ account.host }}" auth mail-from "{{ account.from }}" {% endfor %} match for local action "local" match for any action "{{ smtp_default_account }}_relay"