Craig wrote:

> We are trying to get file restrictions working for outbound mail on a per
> user basis. Below is a copy of the from our acl_check_data we. Perhaps
> someone could help?
> 
> There error we get in the log file is:
> --------------------------------------------------
> 
> temporarily rejected after DATA: invalid "condition" value ""100M""
> 
> This an extract from the Exim config file:
> ----------------------------------------------------------
> 
> acl_check_data:
> 
> deny
> 
>      message = Message is larger than the recipient is allowed to receive.
> If this is work related, please contact the recipient telephonically
> 
>      condition =
> "${lookup{$recipients}lsearch{/etc/mail/limits}{$value}{100M}}"
> 
>      senders = [EMAIL PROTECTED] <[EMAIL PROTECTED]>

After that expansion you end up with for example:

condition = 100M

That doesn't make sense. Condition should be true or false. Perhaps you 
want this instead (untested)

condition = ${if 
 >{$message_size}{${lookup{$recipients}lsearch{/etc/mail/limits}{$value}{100M}}}}

Mike

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to