Re: [exim] accessing message_size_limit within an ACL

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
A: POLONKAI Gergely, exim-users
Assumpte: Re: [exim] accessing message_size_limit within an ACL


--On 11 January 2007 12:27:52 +0100 POLONKAI Gergely
<polesz@???> wrote:

> Hello list,
>
> I've created an acl, in which I check the size of the data. In the
> global sections part I entered
>
> message_size_limit=16M
>
> and in the acl I try:
>
>         deny    message         = Message site $message_size is larger
> than limit of $message_size_limit.
>                 condition       = ${if
> <{$message_size}{$message_size_limit}{yes}{no}}

>
> but I get an error in the logs:
>
> temporarily rejected after DATA: failed to expand ACL string "${if
> <{$message_size}{$message_size_limit}{yes}{no}}": unknown variable name
> "message_size_limit"
>
> Is it possible somehow to access the data in message_size_limit?
>


Use a macro?

--
Ian Eiloart
IT Services, University of Sussex