Re: [exim] Manual Router with Port

Página Inicial
Delete this message
Reply to this message
Autor: Torsten Mueller
Data:  
Para: exim-users
Assunto: 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