OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: relayhost - port

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Tue Jul 03 2007 - 11:42:31 CDT


At 09:36 AM 7/3/2007, mess-mate wrote:
>Hi,
>my isp changed the smtp port number.
>In my main.cf i've 'relayhost=[smtp.orange.fr]'
>i've to change it to 'smtp-msa.orange.fr' with port number 587.
>On http://www.postfix.org/postconf.5.html#relayhost couldn't find
>anything about a port number.
>Is a relayhost=[smtp-msa.orange.fr:587] the way to go ?

Everyone seems to have missed the part of
http://www.postfix.org/postconf.5.html#relayhost that says:

In the case of SMTP, specify a domain name, hostname, hostname:port,
[hostname]:port, [hostaddress] or [hostaddress]:port. The form
[hostname] turns off MX lookups.

So it would seem the form
relayhost = [hostname]:port
is the documented answer.

Is there some way the documentation could to be made more
clear? Maybe an example showing an alternate port for those who skip
the description and go straight to the examples?

--
Noel Jones