Magnus Holmgren a écrit :
> On Saturday 12 May 2007 14:24, Kjetil Torgrim Homme wrote:
>   
>> On Fri, 2007-05-11 at 17:42 +0200, HARMEL Patrick wrote:
>>     
>>>   deny
>>>     condition = ${if match {${lc:$mime_filename}}
>>> {\N\.\s*(bat|com|exe|pif|prf|scr|vbs)\s*$\N}}
>>>     message = My own message|
>>>       
>> I think the ordering is significant here, since Exim short-circuits
>> evaluation.  try to put message first.
>>     
>
> Not with deny, since all conditions have to be fulfilled. It's different with 
> require.
>
>   
Exim short-circuits evaluation had this condition not evaluated (i 
suppose so) since I hadn't a final "accept" in that ACL.
Adding "accept" at the end of the MIME ACL solved the problem.

Thanks to Magnus

-- 
## 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