Re: [exim] SMTP message using MIME ACL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: HARMEL Patrick
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] SMTP message using MIME ACL
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