On Sun, Dec 21, 2014 at 08:57:52AM -0500, Wietse Venema wrote:
> Istvan Prosinger:
> > Hello,
> >
> > Is it possibble to make Postfix relay to some specific domain using a
> > specific relay, and relay all the other domains by default rules (put
> > the mail to an inbox if local or relay outbound by the given
> > restrictions etc)?
> >
> > I guess it'd involve a transport_maps pointer in the main.cf to a
> > specific (let's say) hash table which will contain something like:
> >
> > myspecialdomain.tld.com relay:[myspecialrelay:port]
>
> And use "main.cf:relayhost" for the rest.
And use the documented syntax:
relay:[smtp.example.net]:25
relay:[smtp.example.net]:smtp
--
Viktor.