Mailing List Archive

v3.4.3 RBL lookups on the domain in Reply-to
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?

--
John Schmerold
Katy Computer Systems, Inc
https://katycomputer.com
St Louis
Re: v3.4.3 RBL lookups on the domain in Reply-to [ In reply to ]
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/
Re: v3.4.3 RBL lookups on the domain in Reply-to [ In reply to ]
On 12 Dec 2019, at 12: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?

"perldoc Mail::SpamAssassin::Plugin::DNSEval" (on a system with 3.4.3
installed) provides the details.

In short: there is a new config parameter rbl_headers which by default
includes Reply-To and a new eval call that can be used in header rules:
check_rbl_headers()



--
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: v3.4.3 RBL lookups on the domain in Reply-to [ In reply to ]
KAM.cf has an example too.

On Thu, Dec 12, 2019, 13:46 Bill Cole <
sausers-20150205@billmail.scconsult.com> wrote:

> On 12 Dec 2019, at 12: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?
>
> "perldoc Mail::SpamAssassin::Plugin::DNSEval" (on a system with 3.4.3
> installed) provides the details.
>
> In short: there is a new config parameter rbl_headers which by default
> includes Reply-To and a new eval call that can be used in header rules:
> check_rbl_headers()
>
>
>
> --
> Bill Cole
> bill@scconsult.com or billcole@apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
>