Re: [exim] manualroute sql route_list

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Customer Support
Date:  
À: exim-users
Sujet: Re: [exim] manualroute sql route_list

smart_route:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * "${lookup mysql{SELECT target FROM exim_smarthost
WHERE (domain='$domain')}}"

According to the documentation the destination of a route list can
include a server and port.
I've tried setting target to
domain.com:2525
and bearind in mind exim uses : to split host names, I've tried
domain.com::2525 as described in another document.

Anyone got any ideas as to how I can specify a target host and port
for the forwarding?

Thanks

John