From be7ac1af2b34f1b250191b5cc004b96638ff7486 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 24 Sep 2007 16:11:06 +0000 Subject: Avoid checking yahoo domains for sender address - they refuse to cooperate. --- postfix/postfix.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'postfix') diff --git a/postfix/postfix.sh b/postfix/postfix.sh index f5aa113..ee7c8de 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2007 Jonas Smedegaard # -# $Id: postfix.sh,v 1.58 2007-09-13 10:42:59 jonas Exp $ +# $Id: postfix.sh,v 1.59 2007-09-24 16:11:06 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -140,7 +140,8 @@ $postconf -e "`getlinesfromfile smtpd_data_restrictions`" # (exclude verification of postmaster@ to not verify verification probes) # (add own domains before peers for (rare) cases of duplicates) # FIXME: somehow do this step only if enabled in smtpd_sender_restrictions -cat /etc/local-COMMON/postfix/maildomains | sort | sed 's/$/ reject_unverified_sender/' > "$confdir/sender_access" +# TODO: Properly implement exception exclusion like yahoo (which does not want to be checked any longer!) +cat /etc/local-COMMON/postfix/maildomains | grep -v yahoo | sort | sed 's/$/ reject_unverified_sender/' > "$confdir/sender_access" ( catfilefromownrealm maildomains | sort; catallfilesfromotherrealms maildomains | sort ) \ | sed 's/\(.*\)$/postmaster@\1 permit\n\1 reject_unverified_sender/' >> "$confdir/sender_access" postmap "$confdir/sender_access" -- cgit v1.2.3