Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-2010, 02:08 AM
jdz jdz is offline
Junior Member
 
Posts: 9
Default Changing listening ports...

Hi,

now that my server is running, I wanted to switch the listening ports to the classical ones... I tried:
Code:
$ zmprov ms domain.com zimbraMailSSLPort 443
ERROR: service.INVALID_REQUEST (invalid request: port 443 conflict between zimbraMailSSLPort and zimbraMailSSLProxyPort on server domain.com)
I checked the ports and here's what I got...
Code:
$ zmprov gacf | grep Port
...
zimbraMailPort: 80
zimbraMailProxyPort: 0
zimbraMailSSLPort: 0
zimbraMailSSLProxyPort: 0
...
So I gave the proxy a "fake" port and then I could change the ssl port (and ran into connection refused)...
Code:
zmprov ms domain.com zimbraMailSSLProxyPort 9443
$ zmprov ms domain.com zimbraMailSSLPort 443
$ zmprov ms domain.com zimbraMailSSLProxyPort 0   
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
The strange thing is that the ports are still listed as being set to 0 from gacf...
Where can I get the real values?

Thx,
JD
Reply With Quote
  #2 (permalink)  
Old 09-27-2010, 05:45 AM
Moderator
 
Posts: 6,237
Default

gacf is global but your modifying the server level, let's just deal with gs and ms only:

Alright so:
Quote:
zmprov -l ms server.domain.com zimbraMailPort 80 zimbraMailProxyPort 0 zimbraMailSSLPort 443 zimbraMailSSLProxyPort 0
zmprov -l gs server.domain.com | grep zimbraMailPort
zmcontrol restart
(note first command is on one line/that's an L ell for provisioning via LDAP because you've messed up mailboxd/also proxy isn't typical for single server installs)

If you want to change the http port to 443 go for it, but that doesn't magically add https/ssl, you should do like:
Quote:
zmtlsctl redirect
zmcontrol restart
CLI zmtlsctl to set Web Server Mode - Zimbra :: Wiki
Reply With Quote
  #3 (permalink)  
Old 09-27-2010, 08:48 AM
jdz jdz is offline
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by mmorse View Post
gacf is global but your modifying the server level, let's just deal with gs and ms only
Ah, thx for the info!
gs indeed show me the correct values (the proxy is not activated btw).
Code:
zimbraMailPort: 8080
zimbraMailProxyPort: 80
zimbraMailSSLPort: 8443
zimbraMailSSLProxyPort: 9443
The -l ldap option is also quite helpful.
Is there a reason why it is not the standard as opposed to http?

Quote:
Originally Posted by mmorse View Post
If you want to change the http port to 443 go for it, but that doesn't magically add https/ssl, you should do like:
I installed Zimbra in redirect from the start, but on non standard ports (8080 => 8443).
So, just changing the ports should work, no?

Thx a lot,
JD
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.