Charles Marcus:
> On 2012-05-31 7:29 AM, Wietse Venema <wie...@porcupine.org> wrote:
> > If you need a recipient-dependent override for outbound delivery,
> > consider using a transport map, and use relayhost for the remainder.
> 
> I guess you didn't bother reading my entire email (no worries, I tend to 
> ramble)... ;)
> 
> At the end, I asked about a config using transport maps:
> 
> On 2012-05-31 7:15 AM, Charles Marcus <cmar...@media-brokers.com> wrote:
> > Looking more closely at the docs, it appears I can simply use per
> > recipient transport maps to achieve this...
> 
> > So, would this work?
> >
> > main.cf
> > ...
> > relayhost = [outbounds6.obsmtp.com]
> > ...
> >
> > then in my transport map, just have:
> >
> > externaltarg...@example.com :[smtp.myisp.com]
> > externaltarg...@example.com :[smtp.myisp.com]
> > ...
> >
> > this would then result in *only* these addresses using the alternate
> > transport, and the rest would use the one defined in main.cf?
> >
> > I would just test it, but this is a live system, so would prefer at
> > least a 'that should work as desired' from someone who has done
> > something similar before...

I recall that transport_maps was introduced in 1998, and per-recipient transport
map support in 2002. All precedences of relayhost etc. are documented
in postconf(5).

        Wietse

Reply via email to