On Sat, Jun 11, 2011 at 6:29 PM, Wietse Venema <[email protected]> wrote: > Dave Jones: >> I am converting some sendmail boxes to postfix and can't find any >> information about multiple destinations (preferably primary / >> secondary). > > If it is not documented, then it is not implemented.
With Postfix being as feature rich and superior in many ways, I can't believe a feature like this is not implemented. I though it might be something as simple as putting two lines in the transport or something . I guess I will try to script something so I can get off of sendmail. > >> Sendmail has a mailertable entry like this: >> >> domain.com smtp:[primary.domain.com]:[secondary.domain.com] >> >> It will only deliver to the secondary server when the primary is down. >> >> I need this same functionality in postfix so I can provide a backupmx >> or mailbag if the primary link or mailserver goes down. > > In Postfix, use MX lookups > > example.com smtp:example.com > > This will try all the primary hosts first, then the secondary hosts. > > If you can't use MX lookups, then send to the primary MX. > Postfix does not support multiple destinations in transport map > right-hand sides, as that would break per-destination concurrency > scheduling. > > Wietse >
