Re: [exim] Per Domain Size Filtering

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: 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.

- Marc