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: Duane Hill (d.hillyournetplus.com)
Date: Tue Jul 03 2007 - 10:04:59 CDT


On Tue, 3 Jul 2007 at 16:58 +0200, twiztargmail.com confabulated:

> 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 ?
>>
> By guessing based on how postfix wants port numbers other placed I'd guess:
> relayhost=[smtp-msa.orange.fr]:587
>
> But be advised that this is purely guessing and should be tested before used
> in production

And, according to:

   http://www.postfix.org/postconf.5.html#relayhost

you are correct!