exit codes in docs
Boris 'pi' Piwinger
3.14 at logic.univie.ac.at
Mon Aug 4 18:27:59 CEST 2003
Matthias Andree <matthias.andree at gmx.de> wrote:
>> As for the simple procmail rule, what I want in production is exactly:
>> if bogofilter exits with 0, sequester the message as spam; else deliver
>> it. If bogofilter exits with an error or unsure, the safe thing is to
>> deliver. So:
>>
>> :0HB:
>> * ? /usr/bin/bogofilter
>> /home/glouis/mail/bogo
>>
>> does the trick nicely.
>
>No, it doesn't, not at large at least. It lacks the :0e line to catch
>I/O and disk full errors. Your mail may just as well end up in
>/var/spool/mail/glouis. Ouch. See what I mean?
No. If for some reason procmail cannot call bogofilter
successfully, play safe and deliver.
>We encourage a use of
>procmail that can do anything it wants to, depending on weather and
>things. The safe thing with "bogofilter error" is to defer rather than
>deliver,
For how long before the mail bounces (like on vacation)?
pi
More information about the Bogofilter
mailing list