On 12/12/19 18:44, John Schmerold wrote:

On the Postfix listserv, KAM informed the Postfix community that 3.4.3 has the ability to do RBL lookups on the domain in Reply-to address.

How do we take advantage of this new capability?

If I interpret the documentation correctly (still didn't try the new release), you could something like:

header SH_HEADERS_DBL_SPAM    eval:check_rbl_headers('dbl', 'dbl.spamhaus.org.', '127.0.1.2')
tflags SH_HEADERS_DBL_SPAM domains_only
score SH_HEADERS_DBL_SPAM   XXX

To check all the domains found in the default headers (EnvelopeFrom,Reply-To,Disposition-Notification-To,X-WebmailclientIP,X-Source-IP) in the DBL looking for spam domains. I'd also suggest to add Message-ID to the list of default headers, so a line like:

rbl_headers EnvelopeFrom,Reply-To,Disposition-Notification-To,X-WebmailclientIP,X-Source-IP,Message-ID

should be added somewhere in the local.cf file.

--
Best regards,
Riccardo Alfieri

Spamhaus Technology
https://www.spamhaustech.com/

Reply via email to