J. D. Bitters wrote:
> Installed exim 4.10 last night on a FreeBSD 4.6 box with the following
> "send_to_smart_host:" configuration:
>
> send_to_smart_host:
> driver = manualroute
> route_list = !+local_domains 192.168.181.1
> transport = remote_smtp
>
> This works fine, however, in order to relay to an ISP SMTP server though
> a SSH tunnel, I need to connect to port 50000 on 192.168.181.1 and not
> port 25.
>
> I cannot find how to do it on the documentation, the FAQ or the
> discussion groups.
>
> I have manage to accomplish the same thing by proxying (Delegate proxy)
> port 25 on 192.168.181.1 to port 50000. Although it works, I consider
> it a kludge and would prefer to do it the exim way.
>
> Any and all help are gratefully appreciated.
A smtp transport with 'port = 50000` should do the trick,
see the Exim 4.20 specification, 29.3. Private options for smtp, port:
<
http://www.exim.org/exim-html-4.20/doc/html/spec_29.html#IX2026>
(For Exim 4.10: <
http://www.exim.org/exim-html-4.10/doc/html/spec_29.html#IX1580>)
In the index its 'port: sending TCP/IP'.
Regards
Oliver