1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-28 03:56:43 +02:00

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

This commit is contained in:
Pierre Jaury 2016-11-13 15:49:15 +01:00
parent a3fdd7077a
commit 3e85bb2d73
2 changed files with 2 additions and 6 deletions

View File

@ -95,13 +95,8 @@ smtpd_delay_reject = yes
# Allowed senders are: the user or one of the alias destinations
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_restrictions =
permit_mynetworks,
reject_non_fqdn_helo_hostname,
reject_invalid_helo_hostname,
permit
# Sender restrictions
smtpd_sender_restrictions =

View File

@ -3,6 +3,7 @@
# Exposed SMTP services
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
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes