#366 Amavis+KAV - too many scanned files

closed
nobody
None
5
2007-02-11
2006-05-10
Martin Szymanski
No

When a zipfiles contains a large amount of files (in
my case 11000+) amavis tries to pass them all as 1
argument to Kaspersky Anti virus. This results in an
error message from Kaspersky:

Argument list too long at /usr/sbin/amavisd line
1885.\n
May 10 12:59:59 mail amavis[22456]: (22456-08) run_av
(KasperskyLab AVP - aveclient) FAILED - unexpected
exit 1, output=""
May 10 12:59:59 mail amavis[22456]: (22456-08)
KasperskyLab AVP - aveclient av-scanner
FAILED: /opt/kav/5.5/kav4mailservers/bin/aveclient
unexpected exit 1, output="" at (eval 54) line 435.

It would be great if large amounts of files would be
scanned in block of about 1000 files. That way
Kaspersky (and possible others) wouldn't freak out
about the extremely long argument line.

Thanks,

Martin Szymanski

Client for Kaspersky Anti-Virus server 5.5.3/RELEASE
build #104, compiled Aug 2 2005, 12:40:36

Amavis 2.3.3

On SuSe 10.0 2.6.13-15.8

Discussion

  • Lars Hecking
    Lars Hecking
    2007-02-11

    • status: open --> closed
     
  • Lars Hecking
    Lars Hecking
    2007-02-11

    Logged In: YES
    user_id=28904
    Originator: NO

    Use the amavis-user mailing list for amavisd-new support.