Basic Bogofilter maintenance examples?

Tom Anderson tanderso at oac-design.com
Wed May 25 15:43:07 CEST 2005


----- Original Message ----- 
From: "s. keeling" <keeling at spots.ab.ca>
> errors/misclassifications are handled manually with a few mutt macros:
>
>   # de-register prior classification as spam - Good
>   #
>   macro index G "|/usr/bin/bogofilter -Sn\n"
>   macro pager G "|/usr/bin/bogofilter -Sn\n"
>   #
>   # de-register prior classification as ham  - Bad
>   #
>   macro index B "|/usr/bin/bogofilter -Ns\n"
>   macro pager B "|/usr/bin/bogofilter -Ns\n"
>   #
>   # classify as ham                          - Alright
>   #
>   macro index A "|/usr/bin/bogofilter -n\n"
>   macro pager A "|/usr/bin/bogofilter -n\n"
>   #
>   # classify as spam                         - Spam
>   #
>   macro index S "|/usr/bin/bogofilter -s\n"
>   macro pager S "|/usr/bin/bogofilter -s\n"
>
> so "BS" tells bf to recognise spam as what it really is.  :-)

This is wrong.  If you use "BS" with your macros as defined above, you will 
unregister a spam as ham once and register it as spam twice.  Your "B" macro 
already has the "s" to register it as spam.  Using your "S" macro is then 
redundant.

Tom




More information about the Bogofilter mailing list