anomy-list

Re: sanitizer.pl exit code

From: Cardon Denis (145593@xyz.molar.is)
Date: Wed 11 Apr 2007 - 08:17:22 GMT

  • Next message: Jeremy A: "Unexpected defanging of jpg images."

    Hi Kevin,
    >> 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.
    >
    I set score_bad to 1000 (it was previously set to 0). I've done a few
    test and it seems to be ok so far. :-)

    Thanks a lot for the input!

    Denis

    > Regards,
    > Kevin.
    >
    >
    >
    >
    >

    -- 
    Denis Cardon
    Tranquil IT Systems
    10 rue du Docteur Bouchard
    49400 Saumur
    tel : +33 (0) 2.41.67.56.99
    fax : +33 (0) 2.40.56.09.81
    mob : +33 (0) 6 81 66 27 62
    http://www.tranquil-it-systems.fr
    



    hosted by molar.is