[rt-users] RT+SpamAssassin+Procmail problem

James L. Harrison harrison at palisadesys.com
Tue Feb 25 16:43:12 EST 2003


I have had great success with procmail and the following:
:0fw
| /usr/local/bin/spamassassin -P

:0
* ^X-Spam-Status: Yes
! root

Or you could send it to a "spam" queue if you get many false hits... But I
hardly ever get false hits.

-Jamie
-----Original Message-----
From: rt-users-admin at lists.fsck.com
[mailto:rt-users-admin at lists.fsck.com]On Behalf Of Mark D. Nagel
Sent: Tuesday, February 25, 2003 3:18 PM
To: rt-users at pallas.eruditorum.org
Subject: Re: [rt-users] RT+SpamAssassin+Procmail problem


Actually, it's a small bit rubbier.  The flags to the procmail rule indicate
that the message should be copied to the spamc program, not filtered by it.
The correct recipe is:

:0fw
| /usr/local/bin/spamc

Then you also need to examine the filtered message headers as you pointed
out.

Mark

----- Original Message -----
From: "Glenn Sieb" <ges+lists at wingfoot.org>
To: <pongco at infophil.com>; <rt-users at lists.fsck.com>
Sent: Tuesday, February 25, 2003 12:11 PM
Subject: Re: [rt-users] RT+SpamAssassin+Procmail problem


> Rene L. Pongco Jr. said:
> > Yes, I'm using a spamc/spamd setup and i'm pretty sure spamd is running.
> >  Right now, my /etc/procmailrcs/rt has a line that says:
> >
> > :0cw
> > | /usr/local/bin/spamc
>
> Ah! Here's the rub.
>
> This just passes email through the spamc filter for flagging.
>
> You want to actually filter *after* this:
>
> :0:
> * X-Spam-Status:.\[Yes*\]
> SPAM
>


_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list