Re: [exim] Problem with smtp_load_reserve

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Graeme Fowler
Data:  
Para: Exim-Users
Assunto: Re: [exim] Problem with smtp_load_reserve
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