You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Spectrum CS <sp...@spectrumcs.net> on 2014/03/07 16:53:46 UTC
Is there a test to see if any RBL has been hit?
# spamassassin -V
SpamAssassin version 3.4.0 running on Perl version 5.16.3
# uname -a
FreeBSD XYZ.spectrumcs.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3
Hi,
I vaguely remember there being a test which indicated if a message had any IPs which had hit ANY RBL however, but I'm struggling to find it.
Have I mis-remembered or is it just well hidden?
I've grepped for RCVD and RBL on my spamassassin installation and haven't spotted anything which looks like it does what I'm after.
If it doesn't exist, I could create a test something like ..
META __RCVD_IN_ANY_RBL (RCVD_IN_RBL1 || RCVD_IN_RBL2 || RCVD_IN_RBL3 || ) > 1
... but this would require me to manually alter that RBL list if the rbl's spamassassin uses ever changed.
Also, to be clear, I'm only interested in RBL's which have a positive score.
Any help gratefully received.
Kind regards
Steve
DISCLAIMER
This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it.
If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the authors prior permission.
We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message.
We cannot accept liability for any loss or damage caused by software viruses.
The information contained in this communication may be confidential and may be subject to the attorney-client privilege.
If you are the intended recipient and you do not wish to receive similar electronic messages from us in future then please respond to the sender to this effect.
Re: Is there a test to see if any RBL has been hit?
Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 3/7/2014 10:53 AM, Spectrum CS wrote:
> # spamassassin -V
> SpamAssassin version 3.4.0 running on Perl version 5.16.3
> # uname -a
> FreeBSD XYZ.spectrumcs.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3
>
> Hi,
>
> I vaguely remember there being a test which indicated if a message had any IPs which had hit ANY RBL however, but I'm struggling to find it.
If something exists, I can't find it or think of it.
> If it doesn't exist, I could create a test something like ..
>
> META __RCVD_IN_ANY_RBL (RCVD_IN_RBL1 || RCVD_IN_RBL2 || RCVD_IN_RBL3 || ) > 1
>
> ... but this would require me to manually alter that RBL list if the rbl's spamassassin uses ever changed.
Correct.
> Also, to be clear, I'm only interested in RBL's which have a positive score.
I think you'll have to write your on rule but if you write one
generically for postive, negative and either, I'll happily consider it
for stock rules as a 0.001 score.
Regards,
KAM