Hi, On Fri, Oct 23, 2015 at 6:31 PM, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > On Fri, Oct 23, 2015 at 03:45:25PM -0400, Alex wrote: > >> I see for the postconf(5) entry for reject_rhsbl_client is: >> >> reject_rhsbl_client rbl_domain=d.d.d.d > > That "=d.d.d.d" is your choice of optional filter on the RBL's > reply. > >> In my smtpd_recipient_restrictions I'm doing the following: >> >> reject_rhsbl_reverse_client mykey.dbl.dq.spamhaus.net, >> reject_rhsbl_sender mykey.dbl.dq.spamhaus.net, >> reject_rhsbl_helo mykey.dbl.dq.spamhaus.net >> >> without the "d.d.d.d". > > You're not specifying an optional filter. Therefore, your lookup > keys are just the RBL domains with no "=d.d.d.d". > >> Does the "d.d.d.d" represent the A record of the response code from >> the DBL? Or the A record of the IP of which we are checking? > > Neither. > >> I don't understand how to map the restricts to their entry in the >> rbl_reply_maps file. > > Copy the verbatim <string> in "reject_...bl_... <string>" as the > lookup key.
Thanks so much for your help. I know I did this, and was surprised when it didn't work. I think it was just one of those times I somehow forgot to run postmap, but it is working properly now. Thanks again, Alex