On Fri, 19 Oct 2007, Noel Jones wrote:
> 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.
Using sendmail and a milter it is easily possible to do a proper
reject (571) at incoming SMTP time. How can this be properly done
using postfix? Currently I use sendmail+milter in my MXs, I've thought
about switching to postifx but dont want to lose that functionality.
Dave
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{