How to set Zimbra web service’s hostname and port?

In Zimbra server, how to set Zimbra web service’s hostname and port?

Set Zimbra Web service’s host and port (to mail.domain.com:80 as an example) for a mail domain domain.com:

zmprov md domain.com zimbraPublicServiceHostname mail.domain.com
zmprov md domain.com zimbraPublicServicePort 80

Reference: https://wiki.zimbra.com/wiki/When_using_a_proxy,_the_’change_password’_box_doesn’t_load

Answered by Eric Z Ma.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

6 comments:

  1. Hi,
    I’m looking how to change Zimbra 8.8.15 URL from port 4443 to 443?
    But wiith no success with the proxy.
    zimbraMailPort: 81
    zimbraMailProxyPort: 80
    zimbraMailSSLClientCertPort: 9443
    zimbraMailSSLPort: 4443
    zimbraMailSSLProxyClientCertPort: 3443
    zimbraMailSSLProxyPort: 8443
    zimbraMtaAuthURL: https://mail.example.com:4443/service/soap/
    It will be very glad to help me.

    Best,

  2. Hi,

    Thanks for your asnwer but it didn’t work. URL is not change:
    zimbraMailPort: 81
    zimbraMailProxyPort: 80
    zimbraMailSSLClientCertPort: 9443
    zimbraMailSSLPort: 443
    zimbraMailSSLProxyClientCertPort: 3443
    zimbraMailSSLProxyPort: 8443
    zimbra@mail:/home/xxx$ zmprov gs `zmhostname` | grep 443
    zimbraMailSSLClientCertPort: 9443
    zimbraMailSSLPort: 443
    zimbraMailSSLProxyClientCertPort: 3443
    zimbraMailSSLProxyPort: 8443
    zimbraMtaAuthURL: https://mail.example.com:4443/service/soap/

    I’m completely in a broken configuration now.
    Let me know how to change the zimbraMtaAuthURL
    All command I’ve found are deprecated…

    Best

  3. For more informations about the actual config:
    zimbraHttpContextPathBasedThreadPoolBalancingFilterRules: /service:max=80%
    zimbraHttpRequestHeaderSize: 8192
    zimbraHttpResponseHeaderSize: 8192
    zimbraMailMode: https
    zimbraMailPort: 81
    zimbraMailProxyPort: 80
    zimbraMailReferMode: wronghost
    zimbraMailSSLClientCertPort: 9443
    zimbraMailSSLPort: 4443
    zimbraMailSSLProxyClientCertPort: 3443
    zimbraMailSSLProxyPort: 8443
    zimbraMobileMetadataRetentionPolicy: 180:30:1
    zimbraMtaAuthURL: https://mail.example.com:4443/service/soap/
    zimbraRemoteImapBindPort: 8143
    zimbraReverseProxyLookupTarget: TRUE
    zimbraSpellCheckURL: http://mail.example.com:7780/aspell.php

Leave a Reply

Your email address will not be published. Required fields are marked *