Depends - you can do that with DNS records:
pick a name in your domain (relay.mydomain.com)
add each exchange's IP as A record to relay.mydomain.com
-> relay mails to relay.mydomain.com
Dns round robin: I could try.. but we use internal ips. It is still possible though. But i dont know how good it works if a node goes down. maybe we user the loadbalancer for this. Mailcleaner had the option to do this. But anyway we will try a different approach.
So it would be the default relay ? And if we want to user extern Mailservers on local sites we go with transports right?
Not quite sure if I understand the question completely - if not please explain some more
but you use transports to override the 'default relay' for certain relay domains.
so if you set your default relay to main.server.com, and have 2 domains 'a.com' and 'b.com' configured as relay domains:
* if you create a transport entry for b.com pointing to second.server.com - mails for xxx@b.com would get sent to second.server.com
* mails to xxx@a.com would get sent to main.server.com (since it's the default relay)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.