Sorry for the confusion. When I posted the original question, I cut and pasted the contents of my /etc/procmailrc from a wiki page where I had it stored, and the format accidentally got changed. My /etc/procmailrc was actually correct all along, and contains:
MAILDIR=$HOME/mail :0fw | /usr/bin/spamc :0: * ^X-Spam-Status: Yes /dev/null I have also tried, instead of /dev/null: $HOME/mail/SPAM but I still can't figure out why mail tagged as spam isn't being redirected. How can I trace this? Thanks to [EMAIL PROTECTED] for the tip on not having to restart anything when altering procmailrc files. Date: Sat, 6 Sep 2003 13:36:57 -0700 (PDT) From: Bart Schaefer <[EMAIL PROTECTED]> Mail-Followup-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-2.7 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, SPAM_PHRASE_03_05,USER_AGENT_PINE version=2.44 X-Spam-Level: On Sat, 6 Sep 2003 [EMAIL PROTECTED] wrote: > 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. Linux is not Windows. You should almost never have to reboot. A few services (like spamd) may have to be restarted when their configurations change, but not the whole system. In the case of procmail, a new copy is started (and thus the config is loaded from scratch) as each message is delivered, so you never have to restart anything. > :0: > * > X-Spam-Flag: YES > $HOME/mail/SPAM What example that you Googled made you think there is supposed to be a newline after the "*"? The "*" must appear as the first non-whitespace character of the condition line, and the first line that does not begin with a "*" is the action. So above you have an empty condition and an action to store into the file "X-Spam-Flag: YES", and then a garbage line "$HOME/mail/SPAM" which procmail will ignore (and warn about in the file named by the LOGFILE variable, if you had set one). > :0: > * > X-Spam-Status: Yes > ~/mail/SPAM Procmail does not understand tilde (~) as $HOME. You want: :0: * ^X-Spam-Status: Yes $HOME/mail/SPAM Good luck. ------------------------------------------------------- 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