anomy-list

Re: sanitizer.pl exit code

From: Kevin Shanahan (145501@xyz.molar.is)
Date: Tue 10 Apr 2007 - 23:28:58 GMT

  • Next message: Cardon Denis: "Re: sanitizer.pl exit code"

    On Tue, 2007-04-10 at 19:11 +0200, Cardon Denis wrote:
    > I was wondering if there is any way to tell sanitizer to always output 0
    > unless something went very bad, or tell procmail to assume exit(1) and
    > exit(0) are both ok. There is no mention of this issue in the procmail
    > recipies on the sanitizer web page.

    It should return 0 unless there has been more the "score_bad" changes
    made by sanitizer. Set this artificially high in the config file if you
    always want a 0 exit code. Works fine here.

    Regards,
    Kevin.



    hosted by molar.is