Allow xclient even for non authenticated clients
This commit is contained in:
@@ -31,6 +31,9 @@ relayhost = {{ RELAYHOST }}
|
|||||||
# Recipient delimiter for extended addresses
|
# Recipient delimiter for extended addresses
|
||||||
recipient_delimiter = {{ RECIPIENT_DELIMITER }}
|
recipient_delimiter = {{ RECIPIENT_DELIMITER }}
|
||||||
|
|
||||||
|
# Only the front server is allowed to perform xclient
|
||||||
|
smtpd_authorized_xclient_hosts={{ FRONT_ADDRESS }}
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# TLS
|
# TLS
|
||||||
###############
|
###############
|
||||||
@@ -75,7 +78,6 @@ smtpd_delay_reject = yes
|
|||||||
# Allowed senders are: the user or one of the alias destinations
|
# Allowed senders are: the user or one of the alias destinations
|
||||||
smtpd_sender_login_maps = $virtual_alias_maps
|
smtpd_sender_login_maps = $virtual_alias_maps
|
||||||
|
|
||||||
# Helo restrictions are specified for smtp only in master.cf
|
|
||||||
# Restrictions for incoming SMTP, other restrictions are applied in master.cf
|
# Restrictions for incoming SMTP, other restrictions are applied in master.cf
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ smtp inet n - n - - smtpd
|
|||||||
|
|
||||||
# Internal SMTP service
|
# Internal SMTP service
|
||||||
10025 inet n - n - - smtpd
|
10025 inet n - n - - smtpd
|
||||||
-o smtpd_authorized_xclient_hosts={{ FRONT_ADDRESS }}
|
|
||||||
-o smtpd_recipient_restrictions=reject_unlisted_sender,reject_sender_login_mismatch,permit
|
-o smtpd_recipient_restrictions=reject_unlisted_sender,reject_sender_login_mismatch,permit
|
||||||
-o cleanup_service_name=outclean
|
-o cleanup_service_name=outclean
|
||||||
outclean unix n - n - 0 cleanup
|
outclean unix n - n - 0 cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user