Re: [exim] Problem with smtp_load_reserve

Top Page
Delete this message
Reply to this message
Author: Tomek Piotrowski
Date:  
To: Exim-Users
Subject: Re: [exim] Problem with smtp_load_reserve
On 03/16/2015 03:01 PM, Graeme Fowler wrote:
> On 16 Mar 2015, at 13:25, Tomek Piotrowski <towern@???> wrote:
>> is there some way that this phrase could work?
>>
>> NET_SUBMISSION = 11.22.33.44
>> smtp_load_reserve               = ${if match_ip {$interface_address}{NET_SUBMISSION}{70}{40}}

>>
>> 2015-03-16 14:21:53 Exim configuration error in line 155 of /etc/exim4/conf.d/main.conf:
>> fixed-point number expected for smtp_load_reserve
> smtp_load_reserve is not an expanded item, so no you can't do that.
>
> What you can do however is put the addresses you need into the 'smtp_reserve_hosts' list, and they will always get a connection.
>
> With additional use of queue_only_load (say 4) & deliver_queue_load_max (say 7) you can switch your Exim instance into queue only mode at the lower load and keep accepting from the reserve hosts, then go entirely into queueing (no deliveries) mode at higher load level.
>
> Graeme

Thanks for reply.

NET_SUBMISSION is secondary exim local IP for authenticated users. I
want to allow them to connect even load average is very high. As I see
statement

smtp_reserve_hosts applies only to external addresses. Am I right?