|
|
@ -31,9 +31,6 @@ relayhost = {{ RELAYHOST }}
|
|
|
|
# Recipient delimiter for extended addresses
|
|
|
|
# Recipient delimiter for extended addresses
|
|
|
|
recipient_delimiter = {{ RECIPIENT_DELIMITER }}
|
|
|
|
recipient_delimiter = {{ RECIPIENT_DELIMITER }}
|
|
|
|
|
|
|
|
|
|
|
|
# XClient for connection from the frontend
|
|
|
|
|
|
|
|
smtpd_authorized_xclient_hosts = {{ FRONT_ADDRESS }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############
|
|
|
|
###############
|
|
|
|
# TLS
|
|
|
|
# TLS
|
|
|
|
###############
|
|
|
|
###############
|
|
|
@ -79,24 +76,16 @@ smtpd_delay_reject = yes
|
|
|
|
smtpd_sender_login_maps = $virtual_alias_maps
|
|
|
|
smtpd_sender_login_maps = $virtual_alias_maps
|
|
|
|
|
|
|
|
|
|
|
|
# Helo restrictions are specified for smtp only in master.cf
|
|
|
|
# Helo restrictions are specified for smtp only in master.cf
|
|
|
|
|
|
|
|
# Restrictions for incoming SMTP, other restrictions are applied in master.cf
|
|
|
|
smtpd_helo_required = yes
|
|
|
|
smtpd_helo_required = yes
|
|
|
|
|
|
|
|
|
|
|
|
# Sender restrictions
|
|
|
|
|
|
|
|
smtpd_sender_restrictions =
|
|
|
|
|
|
|
|
permit_mynetworks,
|
|
|
|
|
|
|
|
reject_non_fqdn_sender,
|
|
|
|
|
|
|
|
reject_unknown_sender_domain,
|
|
|
|
|
|
|
|
reject_unlisted_sender,
|
|
|
|
|
|
|
|
reject_sender_login_mismatch,
|
|
|
|
|
|
|
|
permit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Recipient restrictions:
|
|
|
|
|
|
|
|
smtpd_recipient_restrictions =
|
|
|
|
smtpd_recipient_restrictions =
|
|
|
|
permit_mynetworks,
|
|
|
|
permit_mynetworks,
|
|
|
|
reject_unauth_pipelining,
|
|
|
|
check_sender_access ${sql}sqlite-reject-spoofed.cf,
|
|
|
|
reject_non_fqdn_recipient,
|
|
|
|
reject_non_fqdn_sender,
|
|
|
|
reject_unknown_recipient_domain,
|
|
|
|
reject_unknown_sender_domain,
|
|
|
|
permit
|
|
|
|
reject_unknown_recipient_domain,
|
|
|
|
|
|
|
|
permit
|
|
|
|
|
|
|
|
|
|
|
|
###############
|
|
|
|
###############
|
|
|
|
# Milter
|
|
|
|
# Milter
|
|
|
|