Changing Ports in SendMail

Glenn Dawson glenn at antimatter.net
Thu Jul 21 23:22:35 GMT 2005


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 at suscom.net



More information about the freebsd-questions mailing list