procmail
[Top] [All Lists]

multiple tests

2003-11-20 08:40:13
I have a user who wants procmail to
run spamassassin ( and drop in spambox if appropriate)
run vacation on all those that pass thru
copy all messages that hit vacation to a backup mbox
filter some messages based on subject or from
let everything else that doesn't hit these test remain in inbox.

I'm able to do most of the above except some things that should be filtered
also remain in the inbox. Is the above possible?
Here's what I have

:0fw: $HOME/spamassassin.lock
* < 256000
| /sausr/bin/spamc


:0:
* ^X-Spam-Status: Yes
$MAILDIR/Likelyspam

:0c
|/usr/local/bin/vacation jsmith

:0ca :
$MAILDIR/backup

:0ca :
* ^Subject:.*testme
$MAILDIR/testme

TIA


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                            University of Maryland
                Institute for Advanced Computer Studies


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>