Hi guys.  I just figured out how to change the port that sendmail listens
on.

You've got to edit /etc/sendmail.cf
Find the line that says:
#O DaemonPortOptions=Port=esmtp

Uncomment the line, and change esmtp to the port number that you want
sendmail to listen on.

Save the file, and send a SIGHUP to sendmail:
$ killall -HUP sendmail

That's it.  To test it out:
$ telnet <host> <newportno>

Also try `telnet <host> 25' to make sure that the old port is no longer in
use.

What is this good for you ask?

Well, if I hear you ask, then I will tell :)

Philip

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to