diff options
Diffstat (limited to 'postfix/postfix.sh')
-rwxr-xr-x | postfix/postfix.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index a0f663a..1840633 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2004 Jonas Smedegaard <dr@jones.dk> # -# $Id: postfix.sh,v 1.43 2007-07-12 18:37:08 jonas Exp $ +# $Id: postfix.sh,v 1.44 2007-07-12 18:49:36 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -117,9 +117,9 @@ $postconf -e "`getlinesfromfile smtpd_sender_restrictions reject_rhsbl_sender`" $postconf -e "`getlinesfromfile smtpd_recipient_restrictions reject_maps_rbl=reject_rbl_client=maps_rbl_domains`" $postconf -e "`getlinesfromfile smtpd_data_restrictions`" -# Make sure sender_access file (used in smtpd_sender_restrictions) exist +# Verify senders of known and suspect domains # FIXME: somehow do this step only if enabled in smtpd_sender_restrictions -touch "$confdir/sender_access" +cat /etc/local-COMMON/postfix/maildomains | sort | sed 's/$/ reject_unverified_sender/' > "$confdir/sender_access" postmap "$confdir/sender_access" $postconf -e "unverified_sender_reject_code = 550" |