Apply helo restrictions to port 25 only, related to #115

master
Pierre Jaury 8 years ago
parent a3fdd7077a
commit 3e85bb2d73

@ -95,13 +95,8 @@ 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 # Helo restrictions are specified for smtp only in master.cf
smtpd_helo_required = yes smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_non_fqdn_helo_hostname,
reject_invalid_helo_hostname,
permit
# Sender restrictions # Sender restrictions
smtpd_sender_restrictions = smtpd_sender_restrictions =

@ -3,6 +3,7 @@
# Exposed SMTP services # Exposed SMTP services
smtp inet n - n - - smtpd smtp inet n - n - - smtpd
-o smtpd_sender_restrictions=permit_mynetworks,reject_non_fqdn_helo_hostname,reject_invalid_helo_hostname,permit
submission inet n - n - - smtpd submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt -o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes

Loading…
Cancel
Save