Re: [exim] Proxy smtp connections to multiple Exim servers b…

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Proxy smtp connections to multiple Exim servers behind proxy
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