Documentation / Roles / System / postfix_relay

postfix_relay

Source Code Build Status License: MIT

Setup postfix as mail relay.


Default Variables

postfix_relay_auth_password

Default value

postfix_relay_auth_password: pass01

postfix_relay_auth_user

Default value

postfix_relay_auth_user: user01

postfix_relay_relaydomain

Default value

postfix_relay_relaydomain: smtp.org

postfix_relay_relayhost

Default value

postfix_relay_relayhost: test.{{ postfix_relay_relaydomain }}

postfix_relay_relayport

Default value

postfix_relay_relayport: '587'

postfix_relay_senders

Default value

postfix_relay_senders:
  - user: root
    address: '{{ ansible_hostname }}@{{ postfix_relay_relaydomain }}'

postfix_relay_smtpd_banner

smtpd_banner contains $myhostname by default and can’t be removed. Options from the list will be appended.

Default value

postfix_relay_smtpd_banner:
  - ESMTP
  - $mail_name

Dependencies

None.