Unregistering Mail

David Relson relson at osagesoftware.com
Thu Feb 6 21:47:10 CET 2003


Greetings,

As you all know bogofilter has options -s and -n for registering mail as 
spam and ham and also has options -S and -N for moving tokens from one 
wordlist to the other.  There is no option for unregistering a message, 
though this has been suggested several times.

The -S and -N options work by decrement token counts in one wordlist and 
incrementing the counts in the other wordlist.  One enterprising bogofilter 
user modified his copy so that -S and -N are unregister commands.  To 
duplicate the actions of the normal -S (remove from from ham and add to 
spam), he uses flags -N -s.  Our -N (remove from spam, add to ham) is his 
-S -n.  This is a pretty nifty solution with a big problem.  If the code 
gets changed, it will break everybody's scripts.

We could add a config file option that would make -S and -N "remove only 
options".  People could ignore the option or use it if they want it.

Another solution would be to add an option that would make -S and -N 
"unregister only" actions.  This could be done with -U (which is currently 
available).  Thus -US would remove a message from the spamlist and -UN 
would remove it from the goodlist.  For flexibility -USn and -UNs could be 
allowed and would be equivalent to the current -S and -N.

Do people want the ability to unregister mail?  If so what would be the 
preferred way to do it?  One of the above suggestions or something different?

Speak up or accept the majority decision :-)

David
--------------------------------------------------------
David Relson                   Osage Software Systems, Inc.
relson at osagesoftware.com       Ann Arbor, MI 48103
www.osagesoftware.com          tel:  734.821.8800





More information about the Bogofilter mailing list