Re: [exim] mime ACL not working

Top Page
Delete this message
Reply to this message
Author: Exim Mailing List
Date:  
To: exim-users
Subject: Re: [exim] mime ACL not working
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 sysadm@???
      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