HideVirusScanner patch

Magnus Stenman stone at HKUST.SE
Sat Mar 22 04:37:32 GMT 2003


Hi!

I was a bit annoyed to always have to look in the log file to find out
which virus scanner missed/reported which virus, so I modified
MailScanner to optionally show the virus scanner names in the reports.

I also modified the indentation a little bit.



patches for MS 4.13 attached
(apply with "patch targetfile < targetfile.diff")


/magnus


test mail with one .exe file and two .zip files with viruses yields:
---
The following e-mail messages were found to have viruses in them:

    Sender: stone at hkust.se
IP Address: 194.237.47.33
 Recipient: stone at hkust.se
   Subject: test
 MessageID: h2M44aE31264
    Report: Executable DOS/Windows programs are dangerous in email
(eicar.exe)
    Report: FProt: eicar_com.zip->eicar.com  Infection: EICAR_Test_File
            McAfee: eicar_com.zip/EICAR.COM        Found: EICAR test
file NOT a virus.
    Report: FProt: eicar_com-1.zip->eicar.com  Infection:
EICAR_Test_File
            McAfee: eicar_com-1.zip/EICAR.COM        Found: EICAR test
file NOT a virus.

Full headers are:

 Return-Path: <g>
---
instead of
---
The following e-mail messages were found to have viruses in them:

    Sender: stone at hkust.se
IP Address: 194.237.47.33
 Recipient: stone at hkust.se
   Subject: test
 MessageID: h2M4T5E32112
    Report: Executable DOS/Windows programs are dangerous in email
(eicar.exe)
    Report: eicar_com.zip->eicar.com  Infection: EICAR_Test_File
eicar_com.zip/EICAR.COM        Found: EICAR test file NOT a virus.
    Report: eicar_com-1.zip->eicar.com  Infection: EICAR_Test_File
eicar_com-1.zip/EICAR.COM        Found: EICAR test file NOT a virus.

Full headers are
 Return-Path: <g>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hidescanner.tgz
Type: application/x-unknown-content-type-winrar
Size: 2082 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030322/480d4d5c/hidescanner.bin


More information about the MailScanner mailing list