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

Top Pagina
Delete this message
Reply to this message
Auteur: Daniel Tiefnig
Datum:  
Aan: exim
Onderwerp: 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