On Wed, Jul 16, 2003 at 11:43:31AM -0500, Chris Barnes is rumored to have said:
> 
> 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).
> 

Here's the procmail stuff I use for SA:

########################################
# SPAMASSASSIN
########################################
:0fw
* < 100000
| /usr/bin/spamc

:0
* ^X-Spam-Status: Yes
{
        :0c:
        /var/spam/spam-archive

        :0h
        * SUBJ_FULL_OF_8BITS
        /dev/null

        :0h
        * KOREAN_UCE_SUBJECT
        /dev/null

        :0h
        * autolearn=spam
        /dev/null

        :0fw
        * ^X-Spam-Status: Yes, hits=\/[\.0-9]+
        | formail -I "X-Message-Flag: SPAM Message - $MATCH points"

        :0:
        spam
}


-- 
"Manuscript: something submitted in haste and returned at leisure."
- Oliver Herford (1863-1935) 


-------------------------------------------------------
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