diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-12-11 14:44:16 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-12-11 14:44:16 +0000 |
commit | ccfb980c522345e877db9980b104a8156c0a108f (patch) | |
tree | da6fe202473986233c1e65af0f6f00c4f5b59e00 /postfix/postfix.sh | |
parent | dcd1bb5eb0ef88701ade2d81e7f3ea6c2a6e45bc (diff) |
Implement RBL reply exceptions, and add RHSBL dob.sibl.support-intelligence.net with 4xx errorcode.
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) |