bogofilter's exit codes

Gyepi SAM gyepi at praxis-sw.com
Thu Jul 24 15:36:42 CEST 2003


On Thu, Jul 24, 2003 at 08:57:02AM -0400, David Relson wrote:
> It has been suggested that the exit codes should be:
> 
> 0 - for spam
> 1 - for ham
> 2 - for unsure
> 3 - for error
> 
> All in favor say "Yeah".
> All opposed say "Nay".

Yeah, with the following suggestions:

1. We use an enum for exit codes so next time it's easier.

2. This behavior be controlled with the -E option (note that this is a new
   option and is supposed to relate to the -e option)
   without -e or -E: exit codes are: 0,1,3
   with -e: 0,3
   with -E: 0,1,2,3

-Gyepi




More information about the bogofilter-dev mailing list