procmail example [was: exit codes in docs]
David Relson
relson at osagesoftware.com
Mon Aug 4 14:31:27 CEST 2003
At 05:23 AM 8/4/03, Matthias Andree wrote:
>I'll reiterate my procmail example criticism again:
>
>many of the procmail examples, namely of the
>
> :0HB:
> * ? bogofilter
> Mail/spam
>
>kind, mix all possible results, error, unsure, nospam, into one
>set. This is wrong. It's not robust, it's not support-friendly and not
>the right thing to do. We shouldn't encourage such false use.
>
>We should remove that example; unless there is protest within 24 hours,
>I'll remove it.
As I recall, the precedent for this procmail recipe is SpamAssassin.
In normal SA usage, 0 indicates spam and the goal is to divert the
message. In the other mode, 0 indicates SA ran successfully (and non-zero
indicates error).
With no flags, bogofilter operates in the first mode. Using the "-e" flag
gives bogofilter the second mode.
Let's keep the procmail example as it is.
More information about the Bogofilter
mailing list