On Mon, 8 Jun 2020 at 15:07, PGNet Dev <pgnet....@gmail.com> wrote:

>
> in my logs, i see, e.g.
>         Jun  8 06:49:08 mx postfix/dnsblog[21103]: addr 151.20.170.84
> listed by domain <OBFUSCATED>.zen.dq.spamhaus.net as 127.0.0.10
>
> with the "<OBFUSCATED>" clearly displayed.
>
> have you a setting/map in postfix that simply prevents/filters the
> "<OBFUSCATED>" value from explicit entry in the logs?
>

main.cf:
<snip>
rbl_reply_maps = pcre:/etc/postfix/rbl_reply_maps.pcre
postscreen_dnsbl_reply_map =
pcre:/etc/postfix/postscreen_dnsbl_reply_map.pcre
<snip>

# cat /etc/postfix/rbl_reply_maps.pcre
/[a-z0-9]*\.([a-z]*\.dq\.spamhaus\.net)/ $$rbl_code Service unavailable;
$$rbl_class [$$rbl_what] blocked using ${1}$${rbl_reason?; $$rbl_reason}
# cat /etc/postfix/postscreen_dnsbl_reply_map.pcre
/[a-z0-9]*\.([a-z]*\.dq\.spamhaus\.net)/ ${1}

Reply via email to