I need a simple procmail script so that any messages marked as spam by
SA get put into a folder named "Filtered" (I use IMAP, so using the MUA
is not an option).

My initial thought was to simply look for the **SPAM** that SA adds to
the subject line.  Seemed easy enough, right up until I found out that
the asterisk is a wildcard to procmail.

So will this work?


# Check to see if SpamAssassin marked it
# if so, put it into a folder named "Filtered"
> 0
* !Subject:**SPAM**
   $HOME/mail/Filtered

--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes                                       AOL IM: CNBarnes
[EMAIL PROTECTED]                            Yahoo IM: chrisnbarnes
Computer Systems Manager                               ph: 979-845-7801
Department of Physics                                 fax: 979-845-2590
Texas A&M University





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to