Autor: Marc Sherman Data: Dla: exim-users Temat: Re: [exim] Per Domain Size Filtering
isolderj@??? wrote: > when I run the exim -d -be '${if
> <={$message_size}{${expand:${lookup{$domain}lsearch*@{text_file}}}}}'
> and I sub the data in the text file it works and gives me the right
> size Limits.
>
> However as soon as I put it in the acl's it just returns the default.
> I started the mail server in debug mode. I think the bold portion is
> where the problem is.
There is no ACL in which both $domain and $message_size can be used
together -- $domain is only valid in a RCPT acl, because it's a
per-address variable, and $message_size is only valid in the DATA acl
for obvious reasons.