Hallo Michael, Am 2008-01-03 11:53:41, schrieb Michael Bartlett: > 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/
Better to use: MAILDIR=${HOME}/Maildir DEFAULT=${MAILDIR}/ > DROPPRIVS=yes > LOGFILE=$HOME/procmail.log > LOG="--- Logging ${LOGFILE} for ${LOGNAME}, " > > :0fw > | /usr/bin/spamc > > :0: > * ^Subject:.*SPAM > $HOME/Maildir/.Junk/ :0 * ^X-Spam-Status: YES .Junk/ ...and Maildirs must not be locked! > 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 I do not understand where your problem is, since the recipe WAS WORKING Maybe you should put am "VERBOSE=on" at the beginning of the ~/.procmailrc Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature