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

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

:(


--
I was born intelligent .... education ruined me.
--------