Re: [exim] how to distribute outbound mail over multiple hos…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] how to distribute outbound mail over multiple hosts?
Hi,

Felix Schwarz via Exim-users <exim-users@???> (Mi 15 Feb 2017 11:45:21 CET):

> some "warm up" time before switching over to the new system completely and I'm
> looking for ways how to achieve that with Exim.
>
> Ideally (from my point of view) the old outbound server would get a new router
> which forwards some messages to the new server. This "some" should be based on
> a configurable percentage (starting with maybe 1% of the traffic and then
> manually ramping up depending on the results).


And, if then all outbound traffic gets forwarded to the new servers, you
need to reconfigure your application servers to use the new outbound
server? (Just for me, to get it clear.)

> I strongly prefer to configure the mail flow at the current outbound servers
> instead of applying something at our application servers (diverse operating
> systems and just a bigger number of systems to take care of).


You can start with a fallback host (router/transport option fallback_hosts). This would
forward all temp failures to your new outbound servers. Good start for
testing with mail that didn't go through at the first delivery attempt.

And, as a next step, you can insert a new router for forwarding your
messages to the new outbound server.

    new_outbound:
        driver = manualroute
        condition = <you got ${randint:…}>


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -