Unregistering Mail

Chris Wilkes cwilkes-bf at ladro.com
Sun Feb 9 02:40:15 CET 2003


On Sun, Feb 09, 2003 at 02:29:47AM +0100, Piotr KUCHARSKI wrote:
> On Fri, Feb 07, 2003 at 05:14:43AM -0500, Nick Simicich wrote:
> > My choices would be, in order (Think Australian Preference Ballot):
> 
> So I'll toss in my choices:
> 
> -U swap spam and nonspam (and get rid of -S and -N, which might
> become available for unregistering, if anyone needs it)

As was pointed out to me the problem with a -U is shown here:

* you get an email, it's seen as not-spam and is registered as such
* a couple of other emails come in and are registered
* meanwhile the first email's spam calculation has changed and now it
  would be seen as spam

So now if you run the false-negative email though "bogofilter -U" it
will see the email as spam and that it should un-register it as such and
register it as non-spam.  Now that email has been placed into the
non-spam list twice!

Perhaps if the -U was used in conjunction with the -p (add the
"X-Bogosity" header) switch you could look to that value to see how to
un-register the email.

Alternatively, I'm working up an MD5 checksum of just the email's body
and recording its spam status and time seen into a database file.  That
way you can tell if an email that's been delivered has been run through
BF before.  Once I get it working I'll publish it, maybe making into the
contrib/ directory.

Chris




More information about the Bogofilter mailing list