> > We do have two external mail relays (MX 10 mx1 & MX 20 mx2) that accept > mails for our domains, do lots of checks and relay them via a secure > channel through the firewall into our network. Inside and outside we use > postfix. > > > > When sending mails out, we use the same way: send them from our internal > network to one (mx1 only) of our mail relays via secure channel. This > external postfix does - again - a lot of thing like DKIM etc. This outside > postfix on mx1 then sends mails into the world. > > > > The internal postfix sends the mails to mx1 using "default_transport" > (using a customized incarnation of smtp in master.cf). > > > > What we thought is that we could use mx2 for outgoing mails, too. This > would be wise if mx1 is down (what sometimes really happen). > > > > But I find no setting like "fallback_default_transport" that can be used > like default_transport in case our default_transport does not answer. > > > > Can anyone please tell me how we can establish a backup link to our mx2 > working like default_transport for the cases where mx1 is not available? > > > > > The best solution is to use MX records; that's what they're for. > > Alternately, look at > http://www.postfix.org/postconf.5.html#smtp_fallback_relay >
Sure. But this is not exactly what I'm looking for. We need a way to specify a second relay if the first does not answer. At this point we don't examine MXs yet. We push all mail to the relay #1. This relay #1 looks at MXs. We would like to push to relay #2 if relay #1 is not available. And we need to use a customized transport. We cannot do that with smtp_fallback_relay. -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a