On 16/04/2023 20:22, Jeremy Harris via Exim-users wrote:
On 16/04/2023 19:17, Sebastian Arcus via Exim-users wrote:

relay_to_compan1:
   driver = manualroute
   domains = company1.com
   route_list = company1.com 192.168.100.10
   transport = remote_relay_company1
   host_find_failed = defer

relay_to_compan2:
   driver = manualroute
   domains = company2.com
   route_list = company2.com 192.168.100.11
   transport = remote_relay_company2
   host_find_failed = defer

Wouldn't the above just work for incoming email?

Yes.

And if those transports don't actually need different configs,
you only need one.  And then you might consider using multiple
entries in the route_list and only needing one router, too.

Excellent - I didn't think about the route_list having multiple entries. Well - it's a list - it makes sense when you think about it! Thank you very much.

Thank you everyone who chipped in with suggestions - it sounds like I am on my way to a suitable solution. I have a little question about the outgoing side of things - but I will start a new thread as it is quite a specific issue.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to