Hi, On Thu, Oct 22, 2015 at 12:45 AM, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > On Wed, Oct 21, 2015 at 07:59:29PM -0400, Alex wrote: > >> Oct 21 19:56:10 mail01 postfix/smtpd[20778]: NOQUEUE: reject: RCPT >> from bx1.c4xf.com[66.150.190.74]: 554 5.7.1 Service unavailable; >> Unverified Client host [bx1.c4xf.com] blocked using >> mykey.dbl.dq.spamhaus.net; >> http://www.spamhaus.org/query/dbl?domain=c4xf.com; >> from=<asdxc...@bx1.c4xf.com> to=<ro...@example.com> proto=ESMTP >> helo=<bx1.c4xf.com> > > This was blocked by smtpd(8) NOT postscreen. Perhaps surprisingly, > The smtpd(8) service has a different mechanism for obfuscating the > DNSBL service name. > > http://www.postfix.org/postconf.5.html#rbl_reply_maps
Okay, I think I'm still a little confused. The above is from the DBL. Do I need to create an entry in the rbl_reply_maps file for every possible DBL return code? I've done the following for zen: mykey.zen.dq.spamhaus.net=127.0.0.10 521 4.7.1 Service unavailable; $rbl_class [$rbl_what] should not be delivering unauthenticated SMTP email (10)${rbl_reason?; $rbl_reason} mykey.zen.dq.spamhaus.net=127.0.0.11 554 5.7.1 Service unavailable; $rbl_class [$rbl_what] blocked using zen.spamhaus.net ${rbl_reason?; $rbl_reason} This seems to apply to most, but I don't understand how to extract the corresponding error code from the log entry to the necessary rbl_reply_maps file.