Re: [exim] Manual Router with Port

Top Page
Delete this message
Reply to this message
Author: Torsten Mueller
Date:  
To: exim-users
Subject: Re: [exim] Manual Router with Port
Hi Marc,

Marc Perkel schrieb:

> Can I configure a manual router and specify the port that I want to use?


Yes, this is possible.
As an example:

Router:
gdnsmanualroute:
driver = accept
domains = +gdns_manualroute_doms
transport = special_manual
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8

Transport:
special_manual:
driver = smtp
port = ${lookup mysql {MYSQL_RPORT}{$value}}
hosts = ${lookup mysql {MYSQL_RHOST}{$value}}

Greetings Torsten