2022-01-01 19:24:52 +01:00
|
|
|
# {{ansible_managed}}
|
|
|
|
|
|
|
|
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
|
|
|
|
biff = no
|
|
|
|
|
|
|
|
append_dot_mydomain = no
|
|
|
|
|
|
|
|
readme_directory = no
|
|
|
|
|
|
|
|
compatibility_level = 2
|
|
|
|
|
|
|
|
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
|
|
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
|
|
|
|
smtpd_tls_security_level=may
|
|
|
|
|
|
|
|
smtp_tls_CApath=/etc/ssl/certs
|
|
|
|
smtp_tls_security_level = encrypt
|
|
|
|
header_size_limit = 4096000
|
|
|
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
|
|
|
|
|
|
|
|
|
|
|
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
|
|
|
|
myhostname = {{ansible_hostname}}.{{external_domain}}
|
|
|
|
alias_maps = hash:/etc/aliases
|
|
|
|
alias_database = hash:/etc/aliases
|
|
|
|
myorigin = /etc/mailname
|
|
|
|
mydestination = {{ansible_hostname}}.{{external_domain}}, $myhostname, {{ansible_hostname}}, localhost.localdomain, localhost
|
2022-04-14 14:48:45 +02:00
|
|
|
relayhost = [{{postfix_relayhost}}]
|
2022-04-14 15:12:05 +02:00
|
|
|
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ansible_default_ipv4.network}}/24
|
2022-01-01 19:24:52 +01:00
|
|
|
mailbox_size_limit = 0
|
|
|
|
recipient_delimiter = +
|
|
|
|
inet_interfaces = all
|
|
|
|
inet_protocols = all
|