exit codes in docs [was: Correction to integrating-with-postfix]

Chris Wilkes cwilkes-bf at ladro.com
Sat Aug 2 16:18:16 CEST 2003


On Sat, Aug 02, 2003 at 10:10:42AM -0400, Greg Louis wrote:
> 
> As I said (rather intemperately) yesterday, I can live with any values
> you may choose; however, returning a separate code for unsure is a
> valuable addition.

How about adding another switch to bogofilter that makes it return an
exit code that's equal to its spamicity value?  IE a 1.00 count would
return a 100, a non-spam of 0.04 would return a 4.

That way you could leave it up to your scripts to set a spam / good /
not sure value.

Chris




More information about the Bogofilter mailing list