Training ham seems difficult

Dave Lovelace dave at firstcomp.biz
Tue Jan 13 17:58:46 CET 2004


Andreas Pardeike wrote, in part:
> train it for spam. But every message there was already trained as ham so
> my question is: must I "undo" the ham-training on those messages 
> together
> with my spam training?
> 
  <snip>
> 
> My question here is if the user detected spam should be
> untrained first and then trained as spam.
> 
If they've already been registered as ham, yes; but you can do this at the
same time you register them as spam.  The -N option unregisters them as
ham, the -s option registers them as spam, but these can be combined:
bogofilter -Ns

Similarly, if you have messages which have been registered incorrectly
as spam and now need to be unregistered and reregistered, use
bogofilter -Sn

In each case, combine these with other options as needed.  (For example,
if you want the X-Bogosity header added, you need appropriate options
for that.  Ditto for spam and ham cutoffs if you're setting them on
the command line.  Etc.)  This should be pretty straightforward if you're 
already registering messages.

-- 
- Dave Lovelace
  dave at firstcomp.biz
  davel at cyberspace.org




More information about the Bogofilter mailing list