From b5894c224ea973e8d80f249b4f82e9c381fbac6b Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Thu, 14 May 2015 23:25:21 +0200
Subject: Upgrade Postfix config to Jessie (MSA & outgoing proxy).

---
 roles/out/templates/etc/postfix/main.cf.j2 | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'roles/out')

diff --git a/roles/out/templates/etc/postfix/main.cf.j2 b/roles/out/templates/etc/postfix/main.cf.j2
index 23a1de2..da8ed48 100644
--- a/roles/out/templates/etc/postfix/main.cf.j2
+++ b/roles/out/templates/etc/postfix/main.cf.j2
@@ -80,14 +80,15 @@ smtpd_helo_restrictions =
 smtpd_sender_restrictions =
     reject_non_fqdn_sender
 
-smtpd_recipient_restrictions =
-    # RFC requirements
-    reject_non_fqdn_recipient
-    reject_unknown_recipient_domain
+smtpd_relay_restrictions =
     permit_mynetworks
     permit_tls_clientcerts
     reject
 
+smtpd_recipient_restrictions =
+    reject_non_fqdn_recipient
+    reject_unknown_recipient_domain
+
 smtpd_data_restrictions =
     reject_unauth_pipelining
 
-- 
cgit v1.2.3