Re: [exim] How does :fail: work?

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Loed
CC: exim-users
Subject: Re: [exim] How does :fail: work?
On Mon, 9 May 2005, Loed wrote:
>
> max_size:
>  driver = redirect
>  domains = (domains...)
>  allow_fail
>  condition = ${if >{$message_size}{10M}{yes}{no}}
>  data = :fail: The message you are sending is too long.\n \
>           Max size if currently set to 10 Mb.

>
> But recently I've noticed that some of such messages are rejected
> during the smtp conversation:
>
> "550 The message you are sending is too long."
>
> But sometimes Exim accepts such messages, but generates an error
> message which is returned to sender. Something like this:
>
> How does it decide whether to generate error message or not?


It depends whether the message was sent with a SIZE parameter to the MAIL
command, in which case Exim uses this value for the message size when
running the routers for address verification.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}