Victor Duchovni:
> On Sat, Jun 11, 2011 at 07:48:42PM -0500, Dave Jones wrote:
> 
> > On Sat, Jun 11, 2011 at 6:29 PM, Wietse Venema <wie...@porcupine.org> 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.
> 
> Customize your DNS.
> 
>     MTA localhost. zone file:
> 
>       example.com.localhost.  IN MX 10 gw1.example.com.
>       example.com.localhost.  IN MX 20 gw2.example.com.
> 
>     Postfix transport table:
> 
>       example.com     smtp:example.com.localhost

Or /etc/hosts, if your libc implementation is not crippled:

/etc/hosts:
    1.2.3.4     gw.example.com
    1.2.3.5     gw.example.com

/etc/postfix/main.cf:
    smtp_host_lookup = native, dns

That said, a Postfix built-in host-level aliasing feature would
avoid the need to jump hoops like above.

        Wietse

Reply via email to