On Thu, Jun 01, 2006 at 01:14:21AM -0700, JP Kelly wrote:
> i have this in the ACL section and exim still happily delivers  
> messages with .exe attachments.
> What am I missing here?
> 
> acl_smtp_mime:
> 
> deny
>    condition = ${if match {$mime_filename}\
>      {\N\.(com|vbs|bat|pif|scr|exe)$\N}}
>    message = no Windows executeables accepted here
>    log_message = reject, ${substr_-4_4:$mime_filename} file

This works for me:

deny  message = $found_extension files are not accepted here \n \
          If you have questions please contact [EMAIL PROTECTED]
      demime = com:vbs:bat:pif:scr:exe

Regards
Johann

-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Thou will show me the path of life; in thy presence 
      is fullness of joy; at thy right hand there are  
      pleasures for evermore."         Psalms 16:11 

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to