Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] SpamAssassin Question



On Tue, 27 May 2003, Simon Bryan wrote:

> We are runnning SA on a RH9 box with Sendmail. At the moment email is tagged and
> then delivered to the user, I would like to instead deliver it to a different
> mailbox, which would then be reviewed periodically, or indeed simply delete it.
>
> At the moment I have in the spamassassin-rc file (Note that I have very little clue
> about sendmail/procmail etc despite buying and trying to read the Bat Book!) I
> assume this is saying forward all mail to spamc
>
> # send mail through spamassassin
> :0fw
> | /usr/bin/spamc
>
> I found the following piece of code (used with the spamd daemon - I am not using
> that, Why? Cause I couldn't get it to work!):
> :0fw
> | spamassassin -P
> :0:
> * ^X-Spam-Status: Yes
> spambox
>
> Does the effect of the second part of the rule say "Return any mail that is tagged
> as SPAM not to the original destination but to a mailbox called 'spambox'"?
>


fast:/home/david# cat .procmailrc

:0fw
| spamassassin -P

:0:
* ^X-Spam-Status: Yes
mail/00_spam

works for me, so it should work for you ;-)