registering twice [was: exit codes in docs]

David Relson relson at osagesoftware.com
Mon Aug 4 15:46:23 CEST 2003


At 06:21 AM 8/4/03, Matthias Andree wrote:

...[snip]...

> >> It's not robust, it's not support-friendly and not
> >> the right thing to do. We shouldn't encourage such false use.
> >
> > Suggest a better recipe.
>
>We already have one in bogofilter(1) (omitting the comments for brevity):
>
>        :0fw
>        | bogofilter -u -e -p
>
>        :0e
>        { EXITCODE=75 HOST }
>
>        :0:
>        * ^X-Bogosity: Yes, tests=bogofilter
>        spam-bogofilter
>
>        :0e
>        { EXITCODE=75 HOST }
>
>I'd suggest removing the -u though to avoid registering the same mail
>twice.

Twice ???  "-u" auto-registers a message if it's classified as spam or 
ham.  It doesn't register unsure.  I don't see it happening twice.





More information about the Bogofilter mailing list