postfix_relay
Setup postfix as mail relay.
postfix_relay_auth_password: pass01
postfix_relay_auth_user: user01
postfix_relay_relaydomain: smtp.org
postfix_relay_relayhost: test.{{ postfix_relay_relaydomain }}
postfix_relay_relayport: '587'
postfix_relay_senders:
- user: root
address: '{{ ansible_hostname }}@{{ postfix_relay_relaydomain }}'
smtpd_banner
contains $myhostname by default and can’t be removed. Options from the list will be appended.
postfix_relay_smtpd_banner:
- ESMTP
- $mail_name
None.