Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Gert on October 18, 2011, 01:17:08 PM
-
Hi, I am trying to change the port on which the imap server listens to. I have tried:
config setprop imap TCPPort 144
signal-event email-update
but it does not seem to work.
am I missing something?
-
Hi, I am trying to change the port on which the imap server listens to. I have tried:
I am curious why you want to do that. Care to explain?
-
because you cannot specify the port that crapberries connect to. I am using zarafa as mail server and I want to change the zarafa imap port to 143.
-
because you cannot specify the port that crapberries connect to. I am using zarafa as mail server and I want to change the zarafa imap port to 143.
Did you already try the trick siggested here: http://supportforums.blackberry.com/t5/Device-software-for-BlackBerry/Change-IMAP-Port/td-p/395730 ?
-
Yes I have, that's the only way you can specify the username if it is different from the email address but you still can't change the port.
Does anyone know how to change the port the imap server listens to on sme server? what is the db variable TCPPort for on imap?
-
Does anyone know how to change the port the imap server listens to on sme server? what is the db variable TCPPort for on imap?
AFAICT it is only used to configure the firewall to open that port, from your testing it seems the e-mailserver does not use that value.
-
I see, do you know where to change it then?
-
I see, do you know where to change it then?
Based on this (http://wiki.dovecot.org/RunningDovecot), you might get away with a custom template like this in /etc/e-smith/templates-custom/etc/dovecot.conf/:
listen 144
listen_ssl 994
After that you should do the following:
signal-event console-save
signal-event reboot
-
Thank you, I tried it but it did not work. I also tried the following:
protocol imap {
listen = *:144
ssl_listen = *:994
}
see: https://help.ubuntu.com/community/Dovecot (https://help.ubuntu.com/community/Dovecot)
-
Based on this (http://wiki.dovecot.org/RunningDovecot), you might get away with a custom template like this in /etc/e-smith/templates-custom/etc/dovecot.conf/:
Dovecot in SME server does not use dovecot.conf. See /service/imap/run. It's only using the /usr/libexec/dovecot/imap component of dovecot, wrapped via tcpsvd, stunnel-tls and imapfront-auth. IOW, it doesn't use the TCP listening, TLS and authentication code from dovecot, only the imap backend code.
To change the port, you need PORT=xxx in /var/service/imap/config.
-
Thank you Charlie, it worked! :grin: