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

Top Page

Reply to this message
Author: Bruce Richardson
Date:  
To: exim-users
Subject: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
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.


--
Bruce

The ice-caps are melting, tra-la-la-la. All the world is drowning,
tra-la-la-la-la. -- Tiny Tim.