RH9 with kernel 2.4.20-19.9, spamassassin-2.44-11.8.x via procmail

Using Linux Bible and recipes I googled, I'm trying to set up SpamAssassin to tag and 
redirect spam into the user's ~/mail/SPAM file, which I created. I've tried the 
following, but spam is still getting passed through even though SpamAssassin correctly 
tags it. Because I'm not 100% certain what needs to be restarted whenever you alter 
/etc/procmailrc (can someone say?) I've been rebooting to test each change.

I need to make this work with emacs's RMAIL. I also tried redirecting incoming spam to 
/dev/null, in case there's something quirky about RMAIL.

First, I put in /etc/procmailrc:

:0fw
| /usr/bin/spamc

And in the user's ~/.procmailrc, I tried:

:0:
*
X-Spam-Flag: YES
$HOME/mail/SPAM

then I tried:

:0:
*
X-Spam-Status: Yes
~/mail/SPAM

When those didn't work, I went back to /etc/procmailrc and tried:

:0fw
| /usr/bin/spamc

:0:
*
X-Spam-Status: Yes
/dev/null


I also tried in /etc/procmailrc:

MAILDIR=$HOME/mail
:0fw
| /usr/bin/spamc

:0:
*
X-Spam-Status: Yes
SPAM


I also tried these using

/usr/bin/spamassassin -a

instead of

/usr/bin/spamc

I get the same results every time: correctly tagged spam that doesn't get redirected. 
How do you make SA redirect?

thanks,
cyggie stardust


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to