Hi, I'm trying to configure postfix v2.7.3 on fedora with the best options for utilizing RBLs, including zen, and was trying to implement rbl_reply_maps (as per the STRESS_README of all places):
1 /etc/postfix/main.cf: 2 smtpd_client_restrictions = 3 permit_mynetworks 4 reject_rbl_client zen.spamhaus.org=127.0.0.10 5 reject_rbl_client zen.spamhaus.org=127.0.0.11 6 reject_rbl_client zen.spamhaus.org 7 8 rbl_reply_maps = hash:/etc/postfix/rbl_reply_maps 9 10 /etc/postfix/rbl_reply_maps: 11 # With Postfix 2.3-2.5 use "421" to hang up connections. 12 zen.spamhaus.org=127.0.0.10 521 4.7.1 Service unavailable; 13 $rbl_class [$rbl_what] blocked using 14 $rbl_domain${rbl_reason?; $rbl_reason} 15 16 zen.spamhaus.org=127.0.0.11 521 4.7.1 Service unavailable; 17 $rbl_class [$rbl_what] blocked using 18 $rbl_domain${rbl_reason?; $rbl_reason} More specifically, my rbl_reply_maps contains: # With Postfix 2.3-2.5 use "421" to hang up connections. zen.spamhaus.org=127.0.0.10 521 4.7.1 Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason} zen.spamhaus.org=127.0.0.11 521 4.7.1 Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason} When creating the rbl map, however, I receive the following: [root@mail02t postfix]# postmap rbl_reply_maps postmap: warning: rbl_reply_maps.db: duplicate entry: "$rbl_class" postmap: warning: rbl_reply_maps.db: duplicate entry: "$rbl_domain${rbl_reason?;" What could I be doing wrong? Where can I find current (and authoritative) information on UCE with the latest postfix? I've of course found numerous references, but it seems there aren't any documents in the last six or twelve months that explain how best to configure RBLs and other antispam measures. Thanks, Alex