[Mimedefang] HB EDV Return Code change

Henning Schmiedehausen hps at intermeta.de
Mon Nov 14 04:58:08 EST 2005


Hi,

the HB EDV Virus scanner can also return "3" as its return value
(from /usr/bin/antivir --help: 

list of return codes:
   0: Normal program termination, nothing found, no error
   1: Found concerning file or boot sector
   2: A signature was found in memory
   3: Suspicious file found

). Currently this ends mimedefang with "Problem running virus scanner"
for some types of virus (and the mails piling up at the secondary
MXes). 

The attached patch checks for all return-codes between 1 and 10 (it
seems that HB adds new error codes starting from 1).

Please apply.

	Best regards
		Henning



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimedefang-2.54-hbedv.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20051114/5183d3e0/attachment.bin>


More information about the MIMEDefang mailing list