Re: [Exim] acl check on message_size_limit no longer works

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Kjetil Torgrim Homme
Data:  
Para: Rory Campbell-Lange
CC: Exim Users
Assunto: Re: [Exim] acl check on message_size_limit no longer works
On Mon, 2004-08-02 at 18:33 +0100, Rory Campbell-Lange wrote:
> I upgraded my exim4 debian package today and one of my acls doesn't
> work:
>
> condition = ${if >{$message_size}{message_size_limit}{yes}{no}}
>
> exim -bP
> ...
> message_size_limit = 20M
> ...
>
> Error in log:
> string "${if >{$message_size}{message_size_limit}{yes}{no}}":
> "message_size_limit" is not a number


message_size_limit is an option, not a string expansion. you can use a
macro to avoid duplicating the value:

MAX_SIZE = 20M
message_size_limit = MAX_SIZE
...

note that message_size_limit is strictly enforced after both MAIL FROM
and DATA, so your check will never actually be run, anyway.

--
Kjetil T.