On 10/19/07, Yoda Woda <[EMAIL PROTECTED]> wrote:
> Here my scenario:  I have postfix and spamassassin installed in a gateway
> machine.  Postfix accepts incoming messages, pipes them to spamassassin for
> scoring, which then pipes them back to postfix to be relayed to another
> machine.  This work fine for us
>
> What I am trying to do now is to have spamassassin reject a message (say if
> the score is above 5) before it is re-injected back to postfix for relay.
> How can I accomplish this.  Here is my master.cf:

Don't reject messages once postfix has accepted them.  This makes you
a backscatter source and will eventually get you blacklisted.

You can discard messages that are over some score threshold by either
using a postfix header_checks rule in the reinjection postfix
instance, or better, run spamassassin under amavisd-new and use it to
quarantine/discard messages over some score.

-- 
Noel Jones

Reply via email to