Re: [exim] Manual Router with Port

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Torsten Mueller
Dátum:  
Címzett: exim-users
Tárgy: 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