Thomas,

These errors were logged by amavisd-new:

amavis[2643]: (02643-05) (!)do_cabextract: can't parse toc line:  File
size | Date       Time     | Name
amavis[2643]: (02643-05) (!)do_cabextract: can't parse toc line: All
done, no errors.

Testing cabextract manually showed this output:

Viewing cabinet: 12132.cab
 File size | Date       Time     | Name
 -----------+---------------------+-------------
     122880 | 01.07.2014 15:15:52 | gasetz_01_07_2014_F8484273.exe

     All done, no errors

Fix it by making the regex more relaxed for cabextract version 1.2.
Also ignore the "All done, no errors" final output, so warnings would
still be logged.

diff -u -r -p amavisd-new-2.9.1/amavisd amavisd-new.cabextract/amavisd

Thank you for the patch, accepted!

  Mark

Reply via email to