OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: fall back transport per domain

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Sat Jan 12 2008 - 11:15:11 CST


On Sat, Jan 12, 2008 at 02:34:37PM +0530, ram wrote:

> On Thu, 2008-01-10 at 15:31 +0100, Ralf Hildebrandt wrote:
> > * ram <ramnetcore.co.in>:
> > > We provide Email Scanning for our customers. After scanning the mails
> > > are sent to their servers specified in transport_maps.
> > >
> > > Some of our customers have more than one servers for receiving mail
> > > after scan and would like to use one as primary and only in case this
> > > is down fallback to the second.
> > >
> > > Is this possible ?
> >
> > Of course, use (private) MX records for that
> >
>
> I dont like that idea
> I will have to run a Dummy DNS zone for that domain,

No, this is not correct. You just need a transport table entry.

        example.com smtp:example.com.mx.localhost

and in a single "localhost" DNS zone (which you should already be
primary for on your caching nameserver):

    example.com.mx.localhost. IN MX 1 1.example.com.mx.localhost.
    example.com.mx.localhost. IN MX 2 2.example.com.mx.localhost.
    example.com.mx.localhost. IN MX 3 3.example.com.mx.localhost.
    ;
    1.example.com.mx.localhost. IN A 192.0.2.1
    2.example.com.mx.localhost. IN A 192.0.2.2
    3.example.com.mx.localhost. IN A 192.0.2.3

> and that would
> messup all other subdomains for that domain too

No, this is not correct.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.