Possible to change SMTP port for SCALIX?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

b²
Posts: 33
Joined: Thu Apr 26, 2007 12:29 pm

Possible to change SMTP port for SCALIX?

Postby b² » Tue May 22, 2007 12:50 pm

Hello,

after updating from Version 10.x to 11.03 there is a problem with the Webwasher and Scalix.

Incoming mail should be go through the webwasher on IP1:25 to scalix IP1:2525.

But now, after the Update the scalix listen directly to port 25.

During the installation of the first scalix version 9.x "LISTEN_PORT=2525" was set in /var/opt/scalix/sys/smtpd.cfg

So we set "LISTEN_PORT=2525" in /var/opt/scalix/xx/s/sys/smtpd.cfg

But, it does not work after a /etc/init.d/scalix restart.

It seems that scalix connects on the port which is known as smtp in /etc/services .

Is there a way to change the port 25 to 2525 ?


Thanks

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 23, 2007 7:49 am

Hi!

Try this:
* Stop smtpd using command omoff -wd 0 smtpd
* Edit the /var/opt/scalix/??/s/sys/smtpd.cfg file, set LISTEN_PORT=<scalix-server-FQDN>:2525
* Start smtpd using command omon smtpd

How would you verify if smtpd is listening port 2525, since I do not get a response for
lsof -i:2525, while for lsof -i:25, I get:
[root@subir-rhel4 ~]# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2309 root 3u IPv4 5459 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 22156 root 4u IPv4 144803 TCP subir-rhel4.scalix.co.in:smtp (LISTEN)

So, not sure if this helps. You might be correct this has something to do with /etc/services.

Keep me posted.

Thanks,
Subir

b²
Posts: 33
Joined: Thu Apr 26, 2007 12:29 pm

Postby b² » Wed May 23, 2007 9:14 am

Thanks for the help.

Don´t have time to test it before monday.

Will response after the test.

B²

b²
Posts: 33
Joined: Thu Apr 26, 2007 12:29 pm

Postby b² » Wed May 23, 2007 10:14 am

There was faster time to testing as i thought...

And now it works.

But it has to be:

LISTEN=localhost:2525,192.168.0.10:2525


On my Testsystem i found in smtpd.cfg

# LISTEN Comma separated host:port to listen to eg.
# LISTEN=mail.example.com:25,10.100.100.1:smtp


Bye B²


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron