[Spambayes] pre-filter the Review web page
ckamas at dslextreme.com
ckamas at dslextreme.com
Tue May 9 19:55:52 CEST 2006
My setup is:
pop3 server on my ISP
stunnel to isp
spambayes to stunnel
email client to spambayes
So your idea of using ptocmailrc is a good one... just not practical in my situation.
BTW I am using the proxy interface to spambayes.
Chuck
On 9 May 2006 at 19:30, amedee at amedee.be wrote:
>
> > How Can I pre-filter the training web page? I get a lot of email from
> > mailing lists that have a
> > very low instance of SPAM and I would like to ignore them. Is there a way
> > I can have
> > spambayes toss them so I can concentrate on the rest of the mail without
> > having to sift
> > through the mailing lists? Is the only way to do this is to directly
> > filter the data base? If so
> > what files do I need to touch with a bash script?
>
> You didin't say how your mail is set up. I'll tell you how I solved it.
> In my .procmailrc I move email from trusted mailing lists to separate
> folders BEFORE the SpamBayes filtering kicks in, like this:
>
>
> ### These emails are not filtered by SpamBayes
>
> ## Mailing lists
>
> # Pandora User Base mailing lists
> :0
> * ^List-Id:[^<]+<\/[^.]+\.pub\.telenet\.be
> {
> :0:
> * MATCH ?? ^\/[^.]+
> .pub.${MATCH}/
> }
>
> # PUB, not from mailing list
> :0
> * ^From:.*pub\.telenet\.be
> .pub/
>
>
> :0:
> * ^Subject:.*\[smokeping
> .smokeping/
>
> :0:
> * ^List-id: campagne\.duimenvoorjongeren\.be
> .duimenvoorjongeren/
>
>
> ## Logs
>
> :0:
> * ^From: logcheck
> .log.logcheck/
>
> :0:
> * ^Subject:.*\[SmokeAlert
> .log.smokealert/
>
> :0:
> * ^Subject:.*\[SNORT
> .log.snort/
>
> :0:
> * ^Subject: Cron
> .log.cron/
>
>
> ### SpamBayes filtering starts here
>
> :0 fw:hamlock
> | sb_filter.py
>
> # Messages that are so obviously spam that we should not train on them
> :0
> * ^X-SpamBayes-Classification: spam; 1.00
> .ztrain.obvious-spam/
>
> # Messages that are spam but we might want to train on them
> :0
> * ^X-SpamBayes-Classification: spam
> .ztrain.spam/
>
> # Unsure messages must be copied to the unsure folder for training
> :0 c
> * ^X-SpamBayes-Classification: unsure
> .ztrain.unsure/
>
> # Ham that doesn't score 0.00 is eligible for training as well
> :0 c
> * ^X-SpamBayes-Classification: ham; 0.0[2-9]
> .ztrain.ham/
>
> :0 c
> * ^X-SpamBayes-Classification: ham; 0.1[0-9]
> .ztrain.ham/
>
>
> ### These mailing lists are filtered by SpamBayes
>
> # Spambayes mailing list
> :0:
> * ^List-Id:.*spambayes\.python\.org
> .spambayes/
>
> :0:
> * ^Subject:.*\[Spambayes\]
> .spambayes/
>
>
> Hope this helps,
>
> --
> Amedee Van Gasse
> amedee at amedee.be
>
> _______________________________________________
> SpamBayes at python.org
> http://mail.python.org/mailman/listinfo/spambayes
> Check the FAQ before asking: http://spambayes.sf.net/faq.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes/attachments/20060509/1071e23e/attachment.html
More information about the SpamBayes
mailing list