[Mimedefang] disabling the virus scanner?

Fredrik Pettai pettai at nordu.net
Mon Mar 17 04:17:35 EDT 2014

On Mar 14, 2014, at 13:30 , Kees Theunissen <C.J.Theunissen at differ.nl> wrote:
> On Thu, 13 Mar 2014, Fredrik Pettai wrote:
>> Hi,
>> I want to disable the virus scanner (ClamAV).
> If you want to disable all virus scanners (not only ClanAV) then
> just remove the line:
>  my($code, $category, $action) = message_contains_virus();
> and the code handling the scan results from the filter_begin
> subroutine in mimedefang-filter.
> I guess that it's safe to remove this too:
>  # Copy original message into work directory as an "mbox" file for
>  # virus-scanning
>  md_copy_orig_msg_to_work_dir_as_mbox_file();

I did the latter already

Anyway, my suggested fix was actually working fine. I just had to put the lines in the mimedefang-filter file which mimedefang.pl was reading (doh) 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20140317/8cfb25e2/attachment-0003.sig>

More information about the MIMEDefang mailing list