Re: [exim] SMTP message using MIME ACL

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: HARMEL Patrick
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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