[exim] demime not working

Pàgina inicial
Delete this message
Reply to this message
Autor: JP Kelly
Data:  
A: exim-users
Assumpte: [exim] demime not working
I have ClamAV set up with exim but I cant get it to work.
It seems exim's demime is not demiming.
I have the following in the ACL section and exim still passes the
attachments with unwanted extensions.
any ideas?


acl_check_data:

##     accept  hosts          = 127.0.0.1:+relay_from_hosts
##     accept  authenticated  = *


   # First unpack MIME containers and reject serious errors.
deny  message = This message contains a MIME error ($demime_reason)
    demime = *
    condition = ${if >{$demime_errorlevel}{2}{1}{0}}


   # Reject typically wormish file extensions. There is almost no
   # sense in sending such files by email.
deny    message = This message contains an unwanted file extension  
($found_extension)
    demime = scr:com:vbs:bat:lnk:pif:exe



   ## Reject virus infested messages.
deny  message = This message contains malware ($malware_name)
    demime = *
    malware = *