On 6/17/2014 8:30 PM, Joey J 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 <http://domain.com> as shown:
> domain.com <http://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?
> 
> 
> -- 
> Thanks!
> Joey
> 


Transport maps are intended as static routing to override standard
MX records, not as a replacement for MX records. As such, postfix
has no support for multiple transport targets nor "weighted"
transport tables.

Solutions would include localized or split horizon MX records, or
use a network routing protocol that will cause the kernel IP stack
to select the preferred route.



  -- Noel Jones

Reply via email to