Re: [exim] Readsocket used in a manualrouter

Top Page

Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Readsocket used in a manualrouter
On 25/09/2018 21:54, Rob Alfonso via Exim-users wrote:
> I can't sort out why this doesn't work


> send_to_gateway:
>         driver = manualroute
>         domains = !+local_domains
>         transport = remote_smtp
>         route_list = ${readsocket{inet:example.com:4900
> }{getroute\040$primary_hostname}{2s}{}{*\040127.0.0.1}}

>
> Test Fails, the transport send_to_gateway is skipped:


The route_list optino is not expanded. Use route_data
instead.
--
Cheers,
Jeremy