RE: [Exim] Smart Host on a different port?

Góra strony
Delete this message
Reply to this message
Autor: Kevin Reed
Data:  
Dla: exim-users
Temat: RE: [Exim] Smart Host on a different port?
> -----Original Message-----
> On Behalf Of Tabor J. Wells
> Sent: Saturday, July 05, 2003 4:29 PM
>
>
> On Sat, Jul 05, 2003 at 04:07:38PM -0700,
> Kevin Reed <krelvin@???> is thought to have said:
>
> > I've got the following router...
> >
> > send_to_smart_host:
> >    driver = manualroute
> >    route_list = !+local_domains smarthost.domain.name
> >    port = 2025
> >    transport = remote_smtp

> >
> > However, exim says the port is illegal. How do I get it to
> smart host
> > the information to the smarthost using a port other than port 25.
>
> "port" is an option for the transport not the router. So put
> it in yout remote_smtp transport or define an alternate for
> use with your manualroute router.


I had already tried that with the same result.

remote_smtp:
port = 2025
driver = smtp

option "port" unknown

However, now looking at it again... I think the port needs to come after the
driver like:

remote_smtp:
driver = smtp
port = 2025

This appears to work.

Thanks..