Re: Is whitelisting possible?
Anne Wilson <[email protected]> Sat, 4 Dec 2010 10:46:40 +0000
| Newsgroups | gmane.mail.bogofilter.general |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Bogofilter mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAkz6HBAACgkQj93fyh4cnBdg3gCeN8CjazpB8jzELNOnb0lINrmP FmoAoIN01Cgdrs7b2hzw/e8PSRGIHX6c =HMAP -----END PGP SIGNATURE-----