[exim-dev] [Bug 926] clamd 0.95 deprecates "STREAM" command

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 926] clamd 0.95 deprecates "STREAM" command
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=926




--- Comment #5 from Phil Pennock <exim-dev@???> 2009-12-14 10:59:07 ---
Created an attachment (id=361)
--> (http://bugs.exim.org/attachment.cgi?id=361)
malware cleanup, logging; ClamAV new protocol implementation

[ documentation patch to follow ]

Rework the ClamAV scanning to separate scan command more cleanly from
transport, use WITH_OLD_CLAMAV_STREAM=yes to keep the current behaviour
(because some OSes might be backporting fixes for stability and sticking with
old ClamAV) and implements zINSTREAM filtering if that knob is not defined in
Local/Makefile.

Add a -bmalware command-line option, to make it easier to test the malware
scanning interface because faking up SMTP repeatedly gets boring.

Use some DEBUG(D_acl) to note when a scanner is being passed something, and how
it's being passed (all scanners). Some more paranoia about buffer sizes when
constructing scan commands (most pertinent for cmdline: scanners?)

At end of malware scanning, log at DEBUG(D_acl) if malware was found.

The only AV scanner I've tested with this is ClamAV.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email