If you are using a single server and need to install the proxy service, you will need to manually install the zimbra-proxy package, and add proxy to the Service listing in the machine.

To install the proxy package, you will need the Zimbra install directory.

As an example, here are the commands used to setup proxy on a single server node.


1) su - root

2) cd /root/zcs-NETWORK-8.6.0_GA_1153.RHEL6_64.20141215151258/

3) cd packages

4) rpm -ivh zimbra-proxy-8.6.0_GA_1153.RHEL6_64-20141215151258.x86_64.rpm

5) rpm -ivh zimbra-memcached-8.6.0_GA_1153.RHEL6_64-20141215151258.x86_64.rpm

6) su - zimbra

7) zmprov -l ms `zmhostname` -- +zimbraServiceEnabled proxy +zimbraServiceInstalled proxy

8) zmprov -l ms `zmhostname` -- +zimbraServiceEnabled memcached +zimbraServiceInstalled memcached

9) /opt/zimbra/libexec/zmproxyconfig -o -e -w -H  **or** /opt/zimbra/libexec/zmproxyconfig -o -e -w -H `zmhostname`

10) /opt/zimbra/libexec/zmproxyconfig -o -e -m -H  **or** /opt/zimbra/libexec/zmproxyconfig -o -e -m -H `zmhostname`

Check the settings with the following command; note the -l option.

zmprov -l gs `zmhostname` zimbraMailReferMode zimbraMailPort zimbraMailSSLPort zimbraReverseProxyLookupTarget zimbraMailMode zimbraMailProxyPort zimbraMailSSLProxyPort zimbraReverseProxyHttpEnabled zimbraReverseProxyMailMode

Should see something like...

# name

zimbraMailMode: both
zimbraMailPort: 8080
zimbraMailProxyPort: 80
zimbraMailReferMode: reverse-proxied
zimbraMailSSLPort: 8443
zimbraMailSSLProxyPort: 443
zimbraReverseProxyHttpEnabled: TRUE
zimbraReverseProxyLookupTarget: TRUE
zimbraReverseProxyMailMode: https

Then do a complete ZCS shutdown

zmcontrol stop

Make sure there are no zimbra processes running

ps -fu zimbra

Start up ZCS & check status

zmcontrol start

zmcontrol status

After the start up, run a couple of zmprov commands (quick test to make sure there are no errors)

zmprov gas
zmprov gad

More articles written by me,

Jump to: navigation, search