Browse Source

Tiny fixed in Postfix main.cf template

Emmanuel Bouthenot 11 years ago
parent
commit
90a83147e4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      roles/common/templates/postfix/main.cf.j2

+ 3 - 2
roles/common/templates/postfix/main.cf.j2

@@ -83,7 +83,6 @@ disable_vrfy_command = yes
 smtpd_recipient_restrictions =
     permit_mynetworks,
     reject_non_fqdn_sender,
-    reject_unauth_pipelining,
     reject_non_fqdn_recipient,
     reject_unknown_sender_domain,
     reject_unauth_destination,
@@ -92,12 +91,14 @@ smtpd_recipient_restrictions =
 
 smtpd_client_restrictions =
     permit_mynetworks,
+    reject_unauth_pipelining,
     reject_unauth_destination
 
 smtpd_helo_required = yes
 smtpd_helo_restrictions =
     permit_mynetworks,
-    reject_non_fqdn_helo_hostname
+    reject_non_fqdn_helo_hostname,
+    reject_invalid_helo_hostname
 
 smtpd_sender_restrictions =
     permit_mynetworks,