A suggestion on bogofilter option -s and -n

Wang Jian lark at linux.net.cn
Thu Jul 1 12:48:47 EDT 2004


No one seems to have interest in this suggestion, so I make a patch
against 0.91.4 first for review. Because I am having a headache now, I
hack this patch in a hurry and haven't tested it thoroughly, it looks
fine. It's just a proof-of-concept.

Relson, if you this is a good idea, I will make a patch for the latest
version of bogofilter later.

On Tue, 29 Jun 2004 21:21:57 +0800, Wang Jian <lark at linux.net.cn> wrote:

> Hi,
> My suggestion is adding an option, when it used with -s and -n,
> bogofilter will first check if the mail is spam (or ham) using the
> current database. If it is spam, -s will not register it; if it is ham,
> -n will not register it. This is real "train on error" behaviour.
> You could say that we can use a script to wrap it. Yes. But if the mail
> is MIME encoded, the two passes using script is expensive, because the
> decoding takes time. The lexer emits the parsed tokens in the memory, we
> can use it for this two passes in one shot.
> Just my 2 cents.
> Regards
> -- 
>   lark
> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bogofilter-0.91.4.gracemode.patch
Type: application/octet-stream
Size: 2965 bytes
Desc: not available
Url : http://www.bogofilter.org/pipermail/bogofilter/attachments/20040702/f84aa118/bogofilter-0.91.4.gracemode.obj

More information about the Bogofilter mailing list