[Mimedefang] Using clamdscan --fdpass
doconnor at gsoft.com.au
Tue Jul 23 21:25:30 EDT 2013
On 23/07/2013, at 23:32, David F. Skoll <dfs at roaringpenguin.com> wrote:
> On Tue, 23 Jul 2013 08:17:14 +0930
> "Daniel O'Connor" <doconnor at gsoft.com.au> wrote:
>> I'm aware of that possibility, it doesn't seem very elegant to do so
> I guess elegance is in the eye of the beholder. :)
As always :)
> I will take a patch using --fdpass, but not as originally posted. Instead,
> we should make new virus-scanning routines entity_contains_virus_clamdscan
> and message_contains_virus_clamdscan that are analogous to the *_clamav
> versions but that invoke clamdscan --fdpass
OK. fair enough, I will work on that.
What about modifying the clamd routines to use IO::FDPass? That would add another dependency to MD though, however I have some prototype code which uses it and File::Find to scan the files.
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the MIMEDefang