Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing Zimbra 8.7 RC
I installed proxy in 8.6 but did not configure it to the extend required for 8.7.
zcs-8.7.0_RC1_1601.RHEL6_64.20160414162517
Checking for existing proxy service in your environment
Error: One or more proxies do not have zimbraReverseProxyMailEnabled and zimbraReverseProxyHttpEnabled set to TRUE. This is required for ZCS 8.7+
Error: Unable to contact the LDAP server.
/opt/zimbra/libexec/zmproxyconfig -e -w -H zimbra1.domain.com
zmprov ms `zmhostname` zimbraReverseProxyHttpEnabled TRUE
zmprov ms `zmhostname` zimbraReverseProxyMailMode both
zmprov md domain.com zimbraPublicServiceHostname mail.domain.com
zmprov md domain.com zimbraPublicServiceProtocol https
zmprov md domain.com zimbraPublicServicePort 443
zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied
zmtlsctl both
[zimbra@zimbra1 bin]$ zmprov gs `zmhostname` zimbraReverseProxyHttpEnabled
# name zimbra1.domain.com
zimbraReverseProxyHttpEnabled: TRUE
[zimbra@zimbra1 bin]$ zmprov gs `zmhostname` zimbraReverseProxyMailEnabled
# name zimbra1.domain.com
zimbraReverseProxyMailEnabled: TRUE
/opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
/opt/zimbra/libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
zmcontrol restart
zcs-8.7.0_RC1_1601.RHEL6_64.20160414162517
Checking for existing proxy service in your environment
Error: One or more proxies do not have zimbraReverseProxyMailEnabled and zimbraReverseProxyHttpEnabled set to TRUE. This is required for ZCS 8.7+
Error: Unable to contact the LDAP server.
/opt/zimbra/libexec/zmproxyconfig -e -w -H zimbra1.domain.com
zmprov ms `zmhostname` zimbraReverseProxyHttpEnabled TRUE
zmprov ms `zmhostname` zimbraReverseProxyMailMode both
zmprov md domain.com zimbraPublicServiceHostname mail.domain.com
zmprov md domain.com zimbraPublicServiceProtocol https
zmprov md domain.com zimbraPublicServicePort 443
zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied
zmtlsctl both
[zimbra@zimbra1 bin]$ zmprov gs `zmhostname` zimbraReverseProxyHttpEnabled
# name zimbra1.domain.com
zimbraReverseProxyHttpEnabled: TRUE
[zimbra@zimbra1 bin]$ zmprov gs `zmhostname` zimbraReverseProxyMailEnabled
# name zimbra1.domain.com
zimbraReverseProxyMailEnabled: TRUE
/opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
/opt/zimbra/libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
zmcontrol restart