This role configures postfix in basic relay mode.
To use this, you'll need an existing mailserver and some way to authenticate to it. Defaults are for GSSAPI with host keytab, but user+password fallback should also be possible. Postfix will then listen on localhost, accept any mail, rewrite the sender address and hand it of to the relay.
Name | Default value | Description |
---|---|---|
mailclient_sender |
`` | Mail source is rewritten to sender@domain |
mailclient_domain |
`` | The base domain this system belongs to |
mailclient_system_owner_include_domain |
True |
(see defaults/main.yml) For backwards compatibility set to True |
mailclient_system_owner |
False |
All system mail (see below) will be redirected to this address |
mailclient_to_redirect |
(see defaults/main.yml) | Which accounts to redirect mail for? |
mailclient_relay |
False |
Relay mail over this system (postfix relayhost syntax) |
mailclient_auth_enable |
yes |
Whether to authenticate at the relay host |
mailclient_auth_mechanism |
gssapi |
How to authenticate with the relay host |
mailclient_auth_credentials |
(see defaults/main.yml) | Login for the relay host |
mailclient_disable_ipv6 |
(see defaults/main.yml) | Disable IPv6 relaying |
GPLv3