[Mimedefang] File::Scan
Rich West
Rich.West at divatv.com
Thu Apr 11 11:42:39 EDT 2002
Close on the patch.. :)
I tried to apply it to the mimedefang-2.6 installation, but, after
tweaking the unified diff to properly apply, it barfed on 4 chunks.
Hopefully, David will integrate it into MD 2.7...
-Rich
Nels Lindquist wrote:
>On 10 Apr 2002 at 12:52, Rich West wrote:
>
>>Hrmm.. just curious, but if one wanted to try using this particular perl
>>module to scan for viruses, I'm guessing it would be best to write a
>>particular routine to do that within the mimedefang-filter file, and
>>then call that from the filter() procedure?
>>
>
>Well, I figured it might be better to create
>(entity|message)_contains_virus_filescan functions, so I did.
>
>See attached patch against MIMEDefang 2.6.
>
>"make distclean;cd ..;zcat [patchfile] | patch -p0" followed by the
>usual "./configure;make;make install" dance should work.
>
>
>>Maybe something like the following? I am not sure how $entity is being
>>used, and I honestly do not know if ./INPUTMSG is accurate within
>>filter()...
>>
>
>I tried to set up the subroutines so that they behave the same way as
>the other virus scanning routines.
>
--
Richard West mailto:richard.west at divatv.com
Sr. Systems Administrator
Diva - Princeton, NJ http://www.divatv.com
More information about the MIMEDefang
mailing list