RE: [exim] Why doesn't MIME file extension match on this ACL…

Top Page
Delete this message
Reply to this message
Author: Herb Martin
Date:  
To: exim-users
Subject: RE: [exim] Why doesn't MIME file extension match on this ACL?
> On 23 Jun 2005 at 5:47, Herb Martin wrote about
>     "[exim] Why doesn't MIME file extens":

>
> | Checking with "exim -d-all -bh IP_ADDRESS <filename", filename 
> | includes a file MIME part "text.zip":
> | 
> | >>> processing "deny"
> | >>> check condition = ${if match {${lc:$mime_filename}}
> | 
> {\N(\.exe|\.scr|\.vbs|\.pif|\.bat|\.scr|\.lnk|\.com|\.zip)$\N} {1}{0}}
> | >>>                 = 0
> | >>> deny: condition test failed
> |...

>
> You didn't show the ACL, so I have to ask a dumb question:


No, making sure is never a dumb question when something
difficult to explain is happening.

> this deny stanza is in the MIME ACL, not the DATA ACL, right?


I had the actual ACL pasted into the message and
removed it for 'clarity' (<grin>) since it is
effectively right there in the debug trace....

### I is in the MIME check:
deny message = Blacklisted file extension detected ($found_extension)
condition = ${if match \
{${lc:$mime_filename}} \
{\N(\.exe|\.scr|\.vbs|\.pif|\.bat|\.scr|\.lnk|\.com|\.zip)$\N} \
{1}{0}}


####This one is in the Data check:
deny message   = Message contains malformed MIME ($demime_reason).
     demime    = *
     condition = ${if >{$demime_errorlevel}{2}{1}{0}}



Herb Martin
HerbM@??? http://LearnQuick.Com
Accelerated MCSE in a Week Seminars

> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Fred Viles
> Sent: Thursday, June 23, 2005 8:14 AM
> To: exim-users@???
> Subject: Re: [exim] Why doesn't MIME file extension match on this ACL?
>
>
>
>
>
>
> --
> ## 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/
>