diff options
Diffstat (limited to 'postfix/postfix.sh')
-rwxr-xr-x | postfix/postfix.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index e3f8e0d..4a67e28 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.63 2007-12-11 14:29:54 jonas Exp $ +# $Id: postfix.sh,v 1.64 2007-12-11 14:44:16 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -142,6 +142,14 @@ $postconf -c "$tempdir" -e "`getlinesfromfile smtpd_sender_restrictions reject_r $postconf -c "$tempdir" -e "`getlinesfromfile smtpd_recipient_restrictions reject_maps_rbl=reject_rbl_client=maps_rbl_domains`" $postconf -c "$tempdir" -e "`getlinesfromfile smtpd_data_restrictions`" +# Support exceptions to default response +# (Day Old Bread (dob) lists need to reject only temporarily) +$postconf -c "$tempdir" -e "rbl_reply_maps = hash:$confdir/rbl_reply_map" +cat /etc/local-COMMON/postfix/rbl_reply_map \ + | sed 's/#.*//' \ + > "$tempdir/rbl_reply_map" +postmapfiles="$postmapfiles rbl_reply_map" + # Verify senders of common suspicious and known verifiable domains # (exclude verification of postmaster@ to not verify verification probes) # (add own domains before peers for (rare) cases of duplicates) |