Re: [exim] Exim with AntiVirus

Pàgina inicial
Delete this message
Reply to this message
Autor: Fred Viles
Data:  
A: exim-users
Assumpte: Re: [exim] Exim with AntiVirus
On 20 Apr 2005 at 17:04, Balzi Andrea wrote about
    "[exim] Exim with AntiVirus":


|...
| acl_check_mime:
| 
|   # Decode MIME parts to disk. This will support virus scanners later.
|   warn decode = default
| 
|   # File extension filtering.
|   deny message = Blacklisted file extension detected / Tipologia di file non
| autorizzato
|        condition = ${if match \
|                         {${lc:$mime_filename}} \
| {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com|\.reg|\.vbs|\.cmd|\.msi|\.dll|\.)$\N
| } \
|                      {1}{0}}
| 
|   # Reject virus infested messages.
|   deny  message = This message contains malware ($malware_name)
|         demime = *
|         malware = *
| 
|   accept
| 
| In to mine mainlog file I've the follow message for all incoming mails:
| 
| temporarily rejected during MIME ACL checks: cannot test demime condition in
| MIME ACL
| For configure mine exim I've refered to mini-howto of Tim Jackson
| 
| How can solve the problem?


Put the second deny stanza in your DATA ACL, which must be what the
how-to shows. decode is not valid in the MIME ACL, just like the
error message says.

- Fred