On Wed, Jun 18, 2014 at 2:30 AM, Joey J <jacklistm...@gmail.com> wrote:
> We have 2 gateway servers in multiple locations so that we have redundancy
> and of course corresponding mx records pointing to both.
> This handles if GW1 fails, go to GW2
>
> Now once at a GW the transport map handles the routing of the messages for
> domain.com as shown:
> domain.com                   smtp:[1.2.3.4]
>
> However, lets say that server is at a location/building which has 2 internet
> connections, (primary) using 1.2.3.4 and (secondary) using 8.9.10.11
> and the primary connection fails.
>
> My servers will queue the mail since it can't communicate with 1.2.3.4.
>
> What I would like to do is have our server try to deliver to 1.2.3.4 but if
> that fails try to deliver to 8.9.10.11 much in the same way as MX records
> function.
>
> I'm not seeing a way to accomplish this, any suggestions, or examples?
>
>
If you wanto to deliver do 1.2.3.4 and , if fails, then try 8.9.10.11
then you can create a dns entry with those IP an MX

ex:
some_entry.local  IN MX 10 1.2.3.4
some_entry.local  IN MX 20 8.9.10.11

then setup transport_maps to:

domain.com                   smtp:some_entry.local

Hope it helps.

other method is using smtp_fallback_relay

José Borges Ferreira

Reply via email to