Re: [exim] Regular expressions from file for match{

Top Page
Delete this message
Reply to this message
Author: Jan-Piet Mens
Date:  
To: exim-users
Subject: Re: [exim] Regular expressions from file for match{
On Mon Jan 16 2006 at 15:13:30 CET, Tony Finch wrote:

> Use nwildlsearch. For example,
>
>   deny
>     set acl_m0 = ${lookup {$mime_filename} \
>                    nwildlsearch {/etc/exim/mime_regexes} }
>     condition = ${if !={$acl_m0}{} }
>     message = This message contains a prohibited attachment filename ($mime_filename) because $acl_m0
>     log_message = DENY: attachment filename ($mime_filename) because $acl_m0

>


That looks just like what I need. Unfortunately, I get

    failed to expand ACL string "${if !={$acl_m0}{} }": "executable files are dangerous in email" is not a number


I'm using Exim 4.60. Is there something wrong in the equality?

    -JP