Page 1 of 1

Possible to change SMTP port for SCALIX?

Posted: Tue May 22, 2007 12:50 pm
by b²
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

Posted: Wed May 23, 2007 7:49 am
by ScalixSupport
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

Posted: Wed May 23, 2007 9:14 am
by b²
Thanks for the help.

Don´t have time to test it before monday.

Will response after the test.

B²

Posted: Wed May 23, 2007 10:14 am
by b²
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²