Archive only non spam tagged messages

Drew Burchett DrewB at
Tue Mar 14 18:49:41 GMT 2006

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Leah Cunningham
> Sent: Tuesday, March 14, 2006 12:31 PM
> To: MailScanner discussion
> Subject: Archive only non spam tagged messages
> I'm using the Archive setting and was wondering if anyone has a way to
> it
> to only archive messages that are not tagged as spam specifically?  It
> seems
> to grab everything by default.  Maybe someone has a plugin or hook
> function
> that would do it?
> --

I don't know that there's any existing way to do that because I think
that MailScanner archives all of it before it's ever categorized.
However, when I was training my Bayesian filter, I wrote a script that
would take the MailScanner archives, use SpamAssassin to tag them as
spam or not spam and then run them through sa-learn.  It's not perfect,
but I can provide it if you'd like (and if you can give me a day or so
to dig it back out of wherever I dumped it).

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

This message has been scanned for viruses and dangerous content by MailScanner and is believed to be clean.

More information about the MailScanner mailing list