Hi all,

Wonder if you could help me, I'm trying to get my procmailrc to move
all mail marked as spam into another folder - but it doesn't seem to
work. I understand that this could be a procmail problem - but just
wanted to confirm that maybe spamassassin was getting in the way?

This is what my /etc/procmailrc (global) looks like:
DEFAULT=$HOME/Maildir/
DROPPRIVS=yes
LOGFILE=$HOME/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

:0fw
| /usr/bin/spamc

:0:
* ^Subject:.*SPAM
$HOME/Maildir/.Junk/


Right now I'm testing with Subject matching as I'm just sending
through test emails with [SPAM] in them as opposed to checking the
headers. Looking at the logfile, the :0: subject matching never
triggers and it seems like the :0fw spam call is doing the move into
my Maildir.

--- Logging /home/mike/procmail.log for mike, From [EMAIL PROTECTED]
Thu Jan  3 11:36:03 2008
 Subject: [SPAM] FFS!
  Folder: /home/mike/Maildir/.Junk/new/1199360165.14652_1.server30474.     2460

Any clues?
Thanks
Mike

Reply via email to