[exim] clamav

Pàgina inicial
Delete this message
Reply to this message
Autor: fhuet
Data:  
CC: exim users
Assumptes vells: Re: [exim] simplest pwcheck hack for freebsd
Assumpte: [exim] clamav
Hello

As I said in my last mail, i don't think that clamav works fine.

Here is my exim4.conf. Is it the right syntax ?

#!!# ACL that is used after the DATA command
check_message:
        accept
#require verify = header_sender


##### 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 = Potentially executable content. If you meant to send
this file \
#then please 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
# Add X-Scanned Header
#warn message = X-Antivirus-Scanner: Clean mail though you should still
use an Antivirus
##### end clamav ACL

######## EXISCAN ACL #########
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 contains an attachment of a type which wedo
not accept (.$found_extension)
demime = bat:com:pif:prf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still
use an Antivirus
######## EXISCAN ACL #########
accept

What i have to add in clamd.conf ?

Thank you

Franck