Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 16:18:32 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        gerard-seibert@suscom.net, freebsd-questions@freebsd.org
Subject:   Re: Changing Ports in SendMail
Message-ID:  <6.1.0.6.2.20050721161515.1465ab90@cobalt.antimatter.net>
In-Reply-To: <20050721170036.090F.GERARD-SEIBERT@suscom.net>
References:  <20050721170036.090F.GERARD-SEIBERT@suscom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:05 PM 7/21/2005, Gerard Seibert wrote:
>I need to change the ports that SendMail uses by default - port 25.
>
>I inserted this into the <hostname>.mc file.
>
>DAEMON_OPTIONS(`Port=2525, Name=MTA')
>
>I then did the `make all install restart' thing.
>
>SendMail now listens on port 2525 correctly. How do I go about changing
>the port that SendMail actually transmits on? I need to alter that also.
>I cannot seem to locate any information on how to accomplist that.

I don't think sendmail has an option that would allow the source port to be 
changed.  Typically, the source port is chosen by the OS when the TCP 
session is first established.

Why would you need to change the source port in the first place?

-Glenn

>--
>Gerard E. Seibert
>gerard-seibert@suscom.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050721161515.1465ab90>