Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Bill Prescott on July 10, 2003, 06:18:27 PM
-
Help,
I am trying to use Mailwarden on a separate box. They tell me to change the smtp port on the mail server (SME 5.6) from 25 to 28 so it won't normally be connected to. How do I do this with SME 5.6?
Mail warden will catch the mail and after filtering it it will send it to the SME5.6 smtp port set in it.
-
Search the forum sir. :)
-
Okay, so i searched for change smtp port and it came up with a bunch of entries about port forwarding. I'm not sure this is what I want... I want to change the port to another one, not forward it to another one... Am I just searching for the wrong thing?
-
edit /etc/services
change
smtp 25
to
smtp 125 ( or whatever you want)
then
service smtpfront-qmail restart
Regards
Dean
-
Bill/Deal
It's my understanding that /etc/services is templated (on the version I run), if this is the case for 5.5 be sure to create a custom template. See http://www.e-smith.org/custom for details.
Dean, thanks for the information.
-
I have tried changing the smtp port as directed here using a copy of services in templates-custom/etc to 2525, then expand the template. When I restart smtpfront-qmail and portscan it shows that port 25 has been closed but it does not open port 2525. I tried using portopen to open port 2525 but I have not been able to open any port using portopen.
I edited the smtp line to be 2525 instead of 25, am I missing something obvious here?
If I change back to 25 and restart smtpfront-qmail portscan shows that port 25 is again opened so I can tell that the changes are having an effect.