From 199a909669e821c05d85172b4645e0c46dc1cff4 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Thu, 10 Jul 2014 01:21:34 +0200
Subject: Fix $smtpd_sender_restrictions.

On the MDA the domain is our 'mda.fripost.org', there is no need to
perform an extra DNS lookup.

The MSA does not perform local or virtual delivery, but relays
everything to the outgoing SMTP proxy.

On the MX, there is no need to check for recipient validity as we are
the final destination; but unsure that the RCPT TO address is a valid
recipient before doing the greylisting.
---
 roles/IMAP/templates/etc/postfix/main.cf.j2 | 1 -
 1 file changed, 1 deletion(-)

(limited to 'roles/IMAP/templates/etc/postfix')

diff --git a/roles/IMAP/templates/etc/postfix/main.cf.j2 b/roles/IMAP/templates/etc/postfix/main.cf.j2
index 5a17fe2..03a3aef 100644
--- a/roles/IMAP/templates/etc/postfix/main.cf.j2
+++ b/roles/IMAP/templates/etc/postfix/main.cf.j2
@@ -95,7 +95,6 @@ smtpd_sender_restrictions =
 smtpd_recipient_restrictions =
     # RFC requirements
     reject_non_fqdn_recipient
-    reject_unknown_recipient_domain
     permit_mynetworks
     permit_tls_clientcerts
     reject
-- 
cgit v1.2.3