bogofilter's exit codes

David Relson relson at osagesoftware.com
Thu Jul 24 14:57:02 CEST 2003


Greetings,

Currently bogofilter (without any command line options) exits with codes:

0 - for spam
1 - for ham
2 - for error

To make procmail happy there is also the -E option with with bogofilter exits:

0 if O.K., i.e. if spam or ham
2 if error

It has been suggested that the exit codes should be:

0 - for spam
1 - for ham
2 - for unsure
3 - for error

I'm thinking of making the change for the next release, i.e. version 0.14.1?

All in favor say "Yeah".
All opposed say "Nay".

David






More information about the bogofilter-dev mailing list