procmail
[Top] [All Lists]

Re: Sorting into two mailboxes problem

2003-12-12 19:44:08
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

:0c
{
        :0
        * ^X-Spam-Flag:.*\<YES\>
         * ^TO_mike(_at_)ascendency(_dot_)net
        spam

        :0E
         * ^TO_mike(_at_)ascendency(_dot_)net
        nonspam
}


I used the above and I got these results:
In this case, I get duplicates of everything.  This is the very last
reciepe and it works fine as:

 MAILDIR=/home/mike/mailsort/

:0c
{
        :0
        * ^X-Spam-Flag:.*\
        spam

        :0
        nonspam
}

The idea is that at the end of the procmailrc processing chain all
mail is delieverd as nomal, but a copy is made and dumped into either
a nonspam or spam mbox for later bayes learning.  Next, each message
and preform the recpie on the copy.

- ------------------------------
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: mike(_at_)ascendency(_dot_)net
PGP Key 0xD1B9D18E

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
Comment: Digitally signed by Mike Loiterman

iQA/AwUBP9p4hWjZbUnRudGOEQKpiwCgrauurpLu+d9ARKklOf5UJp2qtXIAn2dj
6W446OAZCcE54FfqGnvr4M4s
=Rv2k
-----END PGP SIGNATURE-----


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