Re: [Exim] Port number in route_list

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: I. Forbes
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Port number in route_list
On Thu, 13 Sep 2001, I. Forbes wrote:

> smarthost:
> driver = domainlist
> transport = local_smtp
> route_list = "domain.co.za scanhost.domain.co.za byname"
>
> I also had to setup a DNS entry for "scanhost.domain.co.za"


You could have put it in /etc/hosts, or indeed you could have just put
its IP address there instead of its name (but you still need the
'byname').

> I was just wondering if there is a direct method of specifying a port
> number in the "hosts list" part of a route_list specification.


I'm afraid not.

> It would
> be useful if this could be tied to a literal IP as well. My hack would
> get very tricky if there was more than one domain on the list.


Not if they all use the same port.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.