Holger Isenberg
May 24th, 2007, 05:13 AM
A one line text message, properly encoding and containing just the following line, causes the error "not scanned (archive error)" and the message is rejected and send back to the sender.
Text line:
Content-Type: multipart/; boundary="-"
This is NOD32 for Linux Mailservers Version 2.70.
The same error was already reported for Version 2.52:
http://www.wilderssecurity.com/showthread.php?t=130775
Logfile (msgid removed):
Object AV scanned with status 'not scanned (archive error)'
vdb=9896, agent=mda, msgid=<...>, object="email message", name="mail", virus="is OK", action="", info="", lines=2
vdb=9896, agent=mda, msgid=<...>, object="email message", name="mail -> MIME -> part000.txt", virus="is OK", action="", info=""
vdb=9896, agent=mda, msgid=<...>, object="", name="mail -> MIME -> part000.txt -> MIME", virus="", action="", info="error occurred while reading archive"
As this error also occures sometimes on normal MIME messages with multiple attachments, I use the following workaround filter which captures the error and forwards the message unscanned with a warning added later to the subject "[NOD32 failed NOT scanned vor Virus!]":
if ! tee $TMPFILE | nod32mda -oi -oMr virusscan-ok $*; then
cat $TMPFILE | formail -I "X-NOD32Result: error" | exim4 -oi -oMr virusscan-error $*
fi
Text line:
Content-Type: multipart/; boundary="-"
This is NOD32 for Linux Mailservers Version 2.70.
The same error was already reported for Version 2.52:
http://www.wilderssecurity.com/showthread.php?t=130775
Logfile (msgid removed):
Object AV scanned with status 'not scanned (archive error)'
vdb=9896, agent=mda, msgid=<...>, object="email message", name="mail", virus="is OK", action="", info="", lines=2
vdb=9896, agent=mda, msgid=<...>, object="email message", name="mail -> MIME -> part000.txt", virus="is OK", action="", info=""
vdb=9896, agent=mda, msgid=<...>, object="", name="mail -> MIME -> part000.txt -> MIME", virus="", action="", info="error occurred while reading archive"
As this error also occures sometimes on normal MIME messages with multiple attachments, I use the following workaround filter which captures the error and forwards the message unscanned with a warning added later to the subject "[NOD32 failed NOT scanned vor Virus!]":
if ! tee $TMPFILE | nod32mda -oi -oMr virusscan-ok $*; then
cat $TMPFILE | formail -I "X-NOD32Result: error" | exim4 -oi -oMr virusscan-error $*
fi