From ccfb980c522345e877db9980b104a8156c0a108f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 11 Dec 2007 14:44:16 +0000 Subject: Implement RBL reply exceptions, and add RHSBL dob.sibl.support-intelligence.net with 4xx errorcode. --- postfix/postfix.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'postfix/postfix.sh') 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 # -# $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) -- cgit v1.2.3