OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Backup Mailserver / transport (no backup mx)

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Thu May 11 2006 - 10:10:26 CDT


On Thu, May 11, 2006 at 04:52:22PM +0200, Jan Brinkmann wrote:

> Hi,
>
> one of our customers would like to build an backup Mailserver. That
> means, he wants to build an mailserver which replicates the primary one
> with all emails and stuff. However, we're the MX of his domain and using
> a MySQL database to look for the matching transport line if mail flows
> in for his domain. Now, he wants us that we relay mail to the backup
> server in the case where the primary one isnt reachable. Is it possible
> to do this using some special transport options or something? We would
> have to define this in any way in the mysql db, if possible. Any
> feedback more than welcome.
>

If the customer creates an MX RRset for the hop from you to them, they
can list a backup MX host for that hop.

        ; Public MX: public -> ESP
        example.com. IN MX 0 primary.esp.net.
        example.com. IN MX 0 backup.esp.net.

        ; Private MX: ISP -> customer
        inbound.example.com. IN MX 0 primary.example.com.
        inbound.example.com. IN MX 10 backup.example.com.

Your transport table:

    example.com smtp:inbound.example.com

--
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
     system/email administrator to architect and sustain the Unix email
     environment. If you are interested, please drop me a note.

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.