OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: A question on building mail gateway with Postfix

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Tue Oct 31 2006 - 14:47:29 CST


On Tue, Oct 31, 2006 at 09:40:22PM +0100, Ralf Hildebrandt wrote:

> * Victor Duchovni <Victor.DuchovniMorganStanley.com>:
>
> > > > /etc/postfix/transport:
> > > > aaa.com smtp <smtp.8.html>:[aaa.my.com pool]
> > > > bbb.com smtp <smtp.8.html>:[bbb.my.com pool]
> > >
> > > * :[ccc.my.com]
> >
> > Not a good idea, using "relayhost" is substantially more robust unless
> > the host is a nullclient (mydestination empty, local_transport = smtp).
>
> Ah, because EVERYTHING (including local stuff) would go to ccc.my.com
> as well!

Yes, but not exactly, because ":[ccc.my.com]" does not override the
transport, only the nexthop. So "local" and "virtual" would continue
to work in a manner, be it with the wrong "nexthop", but some "LMTP"
deliveries could break (virtual_transport = lmtp) or "maildrop" transports
that use ${nexthop} ...

--
        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.