mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
The role for the clients is named postfix_null (per [1]) and it's much simpler and cleaner than the postfix role. I hope can cleanup the postfix role at a later date. [1] http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
20 lines
595 B
Django/Jinja
20 lines
595 B
Django/Jinja
#
|
|
# {{ansible_managed}}
|
|
#
|
|
compatibility_level = 3.6
|
|
|
|
mydestination =
|
|
inet_interfaces = loopback-only
|
|
# relay all outbound mail via {{ postfix_relayhost }}
|
|
# the square brackets prevents postfix from trying to lookup mx records
|
|
relayhost = [{{ postfix_relayhost }}]:465
|
|
smtp_tls_wrappermode = yes
|
|
smtp_tls_security_level = verify
|
|
smtp_sasl_auth_enable = yes
|
|
smtp_sasl_tls_security_options = noanonymous
|
|
smtp_sasl_password_maps = texthash:/etc/postfix/relay_passwords
|
|
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
alias_maps = inline:{root=root@archlinux.org}
|
|
alias_database = $alias_maps
|