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.
--
Cheers,
  Jeremy


--
## 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