Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [brewt] ClamAV and Attachments Scanning?

Quote Reply
Re: [brewt] ClamAV and Attachments Scanning? In reply to
Hi.

Following is what i have for Exim4.34 with exiscan patch (replacing Mailscanner which unnecessarily increased server load and built up mailQ):

##### clamav ACL, reject virus infected mails with proper error
deny message = This message contains malformed MIME ($demime_reason).
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains a virus or other harmful content \ ($malware_name)
demime = *
malware = *
deny message = This message has been rejected because it has\n\
a potentially executable attachment $1\n\
This form of attachment has been used by\n\
recent viruses or other malware.\n\
If you meant to send this file then please\n\
package it up as a zip file and resend it.
demime = ade:adp:bas:bat:chm:cmd:com:cpl:crt:eml:exe:hlp:hta:inf:ins:isp:jse:lnk:mdb:mde:msc:msi:msp:pcd:reg:scr:sct:shs:url:vbs:vbe:wsf:wsh:wsc
##### end clamav ACL

This takes care of *No Virus Infected Messages* being able to be delivered to server.

Yes attachment scanning would at least ensure that GM user on server is not responsible for any virus infected messages.

Anup
Subject Author Views Date
Thread ClamAV and Attachments Scanning? anup123 7955 Jul 11, 2004, 10:43 AM
Post Re: [anup123] ClamAV and Attachments Scanning?
Chaz 7743 Jul 11, 2004, 1:56 PM
Thread Re: [anup123] ClamAV and Attachments Scanning?
brewt 7776 Jul 11, 2004, 2:07 PM
Post Re: [brewt] ClamAV and Attachments Scanning?
Chaz 7843 Jul 11, 2004, 2:12 PM
Thread Re: [brewt] ClamAV and Attachments Scanning?
anup123 7747 Jul 11, 2004, 2:24 PM
Thread Re: [anup123] ClamAV and Attachments Scanning?
brewt 7748 Jul 11, 2004, 3:14 PM
Thread Re: [brewt] ClamAV and Attachments Scanning?
anup123 7733 Jul 12, 2004, 2:10 AM
Thread Re: [anup123] ClamAV and Attachments Scanning?
brewt 7722 Jul 12, 2004, 4:28 PM
Post Re: [brewt] ClamAV and Attachments Scanning?
anup123 7702 Jul 13, 2004, 12:54 AM
Thread Re: [anup123] ClamAV and Attachments Scanning?
Chaz 7734 Jul 12, 2004, 10:17 PM
Thread Re: [Chaz] ClamAV and Attachments Scanning?
anup123 7741 Jul 13, 2004, 12:46 AM
Thread Re: [anup123] ClamAV and Attachments Scanning?
Chaz 7722 Jul 13, 2004, 7:21 AM
Thread Re: [Chaz] ClamAV and Attachments Scanning?
Chaz 7663 Jul 21, 2004, 12:04 PM
Thread Re: [Chaz] ClamAV and Attachments Scanning?
anup123 7649 Jul 21, 2004, 2:23 PM
Thread Re: [anup123] ClamAV and Attachments Scanning?
Chaz 7680 Jul 22, 2004, 7:17 AM
Post Re: [Chaz] ClamAV and Attachments Scanning?
anup123 7632 Jul 22, 2004, 12:19 PM
Thread Re: [Chaz] ClamAV and Attachments Scanning?
anup123 7712 Jul 13, 2004, 5:19 AM
Post Re: [anup123] ClamAV and Attachments Scanning?
Chaz 7746 Jul 13, 2004, 7:14 AM