Bogofilter Behaviour on encountering error is unacceptable.

Matthias Andree matthias.andree at gmx.de
Tue Feb 20 22:38:37 CET 2007


K T Ligesh schrieb:
> Hi folks,
> 
>  It seems that when bogofilter encounters some problems like the lack of the wordlist file, it just truncates the mail completely and sends only a couple of headers across. This is dangerous since if you have a large number of users, it is likely that there will be times when the wordlist files are missing. The behaviour that I am expecting is that it should just pass the entire message without doing anything on it.
> 
>  At least, according to me, the current behaviour makes bogofilter actually unusable since there is a very high chance of mails completely getting lost. Is there some configuration option that will tell bogofilter to return the entire message unaltered when it encounters an error?

Then integrate bogofilter properly with the rest of your system.
In such situations, bogofilter will exit with error code 3 which you can
test for and handle accordingly, such as push the message back to the
mailserver's queue or retrieve the unfiltered message or do things like
that. This is not a bogofilter bug.




More information about the Bogofilter mailing list