23 lines
649 B
Django/Jinja
23 lines
649 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
|
biff = no
|
|
|
|
append_dot_mydomain = no
|
|
|
|
readme_directory = no
|
|
|
|
compatibility_level = 2
|
|
|
|
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
|
|
alias_maps = hash:/etc/aliases
|
|
alias_database = hash:/etc/aliases
|
|
relayhost = {{ common_postfix_mail_relay }}
|
|
mynetworks = {{ common_postfix_mynetworks }}
|
|
inet_interfaces = all
|
|
inet_protocols = all
|
|
|
|
# reecritures d'adresses si besoin
|
|
sender_canonical_maps = regexp:/etc/postfix/sender_canonical_maps_regexp
|
|
recipient_canonical_maps = regexp:/etc/postfix/recipient_canonical_maps_regexp
|