Re: [exim] [exiscan] cmdline scanner, error ignored?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Daniel Tiefnig
Date:  
À: exim
Sujet: Re: [exim] [exiscan] cmdline scanner, error ignored?
Tom Kistner wrote:
> The exit code is not checked at all since scanners differ in what
> they return as the exit code for "succes", "virus found" etc. So
> problems are not recognized at all ATM. Maybe this could be
> implemented using a third "must-be-there" regular expression.


Just a quick note:
Maybe it would be better to implement an exit-code Option, that
specifies which exit codes to treat as success. The whole thing with
regular expressions here is not ideal, though I can't see a way round as
we want to get the name of the virus found. But it should be kept at a
minimum, IMHO.

lg,
daniel