You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Cherubini Enrico <be...@gmail.com> on 2011/11/05 20:17:04 UTC

Exit spamassassin when reaching a value

Good day,
I would like to remove rbl check from postfix and using them in
spamassassin, this because for some users rbl are too aggressive while
for others they aren't enough. I would like to know if it is possible
to set rbl check as the first check in spamassassin and, if the remote
IP is blacklisted then stop other test and exit, so keeping server
load as low as possible.

Thanks.

Re: Exit spamassassin when reaching a value

Posted by Ned Slider <ne...@unixmail.co.uk>.
On 05/11/11 20:52, John Hardin wrote:
> On Sat, 5 Nov 2011, Cherubini Enrico wrote:
>
>> Good day,
>> I would like to remove rbl check from postfix and using them in
>> spamassassin, this because for some users rbl are too aggressive while
>> for others they aren't enough. I would like to know if it is possible
>> to set rbl check as the first check in spamassassin and, if the remote
>> IP is blacklisted then stop other test and exit, so keeping server
>> load as low as possible.
>
> Search the mailing list archives and SA documentation for "shortcircuit".
>

You should probably also look at Postscreen, available in the latest 
version of Postfix:

http://www.postfix.org/POSTSCREEN_README.html

which I believe also allows RBLs to be scored if you don't trust to 
reject on a single RBL.


Re: Exit spamassassin when reaching a value

Posted by John Hardin <jh...@impsec.org>.
On Sat, 5 Nov 2011, Cherubini Enrico wrote:

> Good day,
> I would like to remove rbl check from postfix and using them in
> spamassassin, this because for some users rbl are too aggressive while
> for others they aren't enough. I would like to know if it is possible
> to set rbl check as the first check in spamassassin and, if the remote
> IP is blacklisted then stop other test and exit, so keeping server
> load as low as possible.

Search the mailing list archives and SA documentation for "shortcircuit".

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
   does quite what I want. I wish Christopher Robin was here."
                                            -- Peter da Silva in a.s.r
-----------------------------------------------------------------------
  Tomorrow: Daylight Saving Time ends in U.S. - Fall Back

Re: Exit spamassassin when reaching a value

Posted by Benny Pedersen <me...@junc.org>.
On Sat, 5 Nov 2011 20:17:04 +0100, Cherubini Enrico wrote:

> I would like to remove rbl check from postfix

why not dnswl the sender problematic ip on http://www.dnswl.org ?

http://www.dnswl.org/tech#postfix



Re: Exit spamassassin when reaching a value

Posted by Bowie Bailey <Bo...@BUC.com>.
On 11/5/2011 3:17 PM, Cherubini Enrico wrote:
> Good day,
> I would like to remove rbl check from postfix and using them in
> spamassassin, this because for some users rbl are too aggressive while
> for others they aren't enough. 

It is fairly easy to set up rbls in SA.  Check the docs (man
Mail::SpamAssassin::Conf) and scan the default rule sets for examples.

> I would like to know if it is possible
> to set rbl check as the first check in spamassassin and, if the remote
> IP is blacklisted then stop other test and exit, so keeping server
> load as low as possible.

If you want to do that, then why not run them in postfix and avoid the
SA overhead altogether?

-- 
Bowie