----- Original Message ----- > From: "Wietse Venema" <[email protected]> > To: "Postfix users" <[email protected]> > Sent: Wednesday, October 14, 2015 7:26:05 PM > Subject: Re: Is it possible to have different systems for sending email (send > directly, relay host) configurable via tables?
> Ray: > > Right now the only thing I am able to do is use dnsmasq and create fake MX > > records for destination domains. Which works, but It would be nice to have > > it directly within postfix too, as not to relay on another piece of > > software. > Note, this selects relay based on the recipient address. > > I think I just found the answer myself. It seems > > sender_dependent_default_transport_maps or sender_dependent_relayhost_maps > > is the way to go. > Note, this selects the relay based on the sender address. Right, those are two of the problems I did encounter in the past, where I used DNSMasq to differentiate the recipient domain and I wished I had know about sender_dependent_relayhost ... But now I do. > > I guess I should have checked the postfix docu earlier, seems as > > google does not have lot's of infos on that special subject. > For best results, you need to use the same words as the articles that > you want to find, so it can be a chicken and egg problem. Yeah, sometimes it seems you need to be a google ninja to find the right stuff :-) > Wietse Thank you, Best Ray --
