Is whitelisting possible?
Anne Wilson
cannewilson at googlemail.com
Sat Dec 4 11:46:40 CET 2010
On Saturday 04 December 2010 10:27:38 Sven Hoexter wrote:
> On Sat, Dec 04, 2010 at 10:07:57AM +0000, Anne Wilson wrote:
> > I subscribe to Magnatune, so I get frequent emails from them describing
> > new releases. Every time the email ends up in the Unsure folder. Every
> > time, I copy it to the ham training folder, but the content is so
> > variable, I think, that Bogofilter is never able to classify it
> > properly. Is there any way that I can add weighting that would make
> > this into definitely ham? Currently Bogofilter marks them with anything
> > from 1% to 49.9999% probbility of being spam, with the majority being in
> > the 47-49% range.
>
> I donno how you integrated bogofilter in your setup but if you utilize
> something like procmail you can use a black- and whitelist in front of
> bogofilter. E.g.
>
Thanks. Yes, I use bogofilter within procmail, so I'll give this a try.
> DEFAULT=$MAILDIR/new
> WHITELIST=$PROCMAILDIR/whitelist.txt
> BLACKLIST=$PROCMAILDIR/blacklist.txt
> ### clasic white- and blacklist ###
>
> :0
>
> * ? test -f $WHITELIST
> * ? formail -x"From" -x"From:" -x"Sender:" -x"Reply-To:" -x"Return-Path:"
> -x"To:" | egrep -is -f $WHITELIST $DEFAULT
>
> :0
>
> * ? test -f $BLACKLIST
> * ? formail -x"From" -x"From:" -x"Sender:" -x"Reply-To:" -x"Return-Path:"
> -x"To:" | egrep -is -f $BLACKLIST /dev/null
>
Anne
--
KDE Community Working Group
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20101204/14821fb6/attachment.sig>
More information about the Bogofilter
mailing list