Re: [exim] Round robin for outgoing connections

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Felix Schwarz
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Round robin for outgoing connections

Am 28.08.2017 um 12:57 schrieb Luca Bertoncello:
> I'm trying to balance the outgoing connection using two IPs with exim 4.89...
> Unfortunately I didn't find any way, in the documentation, to do that...
>
> I see the "hosts_randomize", but it seems to just work with "route_list" and
> not with "interface"...
>
> Has someone any suggestion?


Seems like I asked a very similar question in February ("how to distribute
outbound mail over multiple hosts?").

The solution for me was to have multiple outbound routers with a condition (in
our case it included a random number):
    new_outbound:
        driver = manualroute
        condition = <you got ${randint:…}>


fs