Difference between revisions of "How can I make the SMTP Relay listen on a different port?"
From Scalix Wiki
m (added naviagtion to top of page) |
|||
Line 1: | Line 1: | ||
+ | [[Scalix Wiki]] -> [[FAQ]] -> '''How can I make the SMTP Relay listen on a different port?''' | ||
+ | |||
Port 587 is the best alternative because it is defined as the submission port. | Port 587 is the best alternative because it is defined as the submission port. | ||
Latest revision as of 14:24, 30 June 2010
Scalix Wiki -> FAQ -> How can I make the SMTP Relay listen on a different port?
Port 587 is the best alternative because it is defined as the submission port.
To do this:
1) Add the line
LISTEN_PORT=587
to
~scalix/sys/smtpd.cfg
2) Restart the relay:
omoff -d 0 smtpd omon smtpd
3) Tell your internet standards-based clients (pop, imap, smtp) to connect to port 587 instead of 25.
For Scalix 11
Edit this line in the file /var/opt/scalix/NN/s/sys, where "NN" is your node name.
[SUBMIT] LISTEN=192.168.1.23:587
Change to your ip address accordingly, then restart omsmtpd
# omoff -d0 smtpd ; omon smtpd
To verify,
# lsof -i 587
OR
# netstat -ntlp
You should be seeing port 587 is listening.