summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-09-24 23:15:08 +0000
committerJonas Smedegaard <dr@jones.dk>2007-09-24 23:15:08 +0000
commitd595e8fbd93605f53a8c40a603df545cc5b121a0 (patch)
tree6a03a3f9cad058e48c7c10877176b5cffd2dee2c /postfix
parentbe7ac1af2b34f1b250191b5cc004b96638ff7486 (diff)
Trust recipient verification.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index ee7c8de..66b5a66 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -3,7 +3,7 @@
# /etc/local-COMMON/postfix/postfix.sh
# Copyright 2002-2007 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: postfix.sh,v 1.59 2007-09-24 16:11:06 jonas Exp $
+# $Id: postfix.sh,v 1.60 2007-09-24 23:15:08 jonas Exp $
#
# Auto-tweak plain installed postfix Debian package
#
@@ -147,6 +147,9 @@ cat /etc/local-COMMON/postfix/maildomains | grep -v yahoo | sort | sed 's/$/ rej
postmap "$confdir/sender_access"
$postconf -e "unverified_sender_reject_code = 550"
+# Trust recipient verification too
+$postconf -e "unverified_recipient_reject_code = 550"
+
# TLS breaks postfix if no SASL modules available (and doesn't make sense either)
# (change the test if using some other modules and avoid the plain ones)
if [ -n "$sasl2" ] && [ -f /etc/ssl/certs/postfix.pem ]; then