Re: [Exim] ACL to ALLOW only mentioned attachments type and …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Dilip M
Data:  
Para: Bruce Richardson, exim-users
Asunto: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
On Sat, 27 Mar 2004 10:57:34 +0000, Bruce Richardson
<itsbruce@???> wrote:

> On Sat, Mar 27, 2004 at 04:18:21PM +0530, Dilip M wrote:
>> On Sat, 27 Mar 2004 12:57:42 +0530, Dilip M <dilipm@???>
>> wrote:
>>
>> >[...]
>> >>
>> >>Hmm. I don't have good things to report on this. If the condition is
>> >>'demime = *', then $found_extension is not filled. You have to
>> specify
>> >>an explicit list of extensions before $found_extension will be used
>> and
>> >>then it will only show the first found extension no matter how many
>> >>attachments. So I think you have to do something like this:
>> >>
>> >>warn set acl_m0 = text_only
>> >>     demime = txt
>> >>warn set acl_mo = mixed
>> >>     demime = *
>> >>     !demime = txt
>> >>deny message = Bad attachment
>> >>     demime = *
>> >>     condition = ${if eq {$acl_m0}{text_only} {no}{yes}}

>> >>
>> >
>> >
>> >error in ACL: unrecognized name after "set" in ACL modifier "set acl_mo
>> >= mixed"
>> >
>> >:(
>> >
>>
>> Just now upated the exiscan !!
>
> There's a typo. acl_mo should be acl_m0. But it doesn't work, anyway.


ya!! :(( i even tried that :( it won't work !!