|
Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
Zimbra-zmproxyconfig-commandMain.Zimbra-zmproxyconfig-command HistoryHide minor edits - Show changes to output Changed lines 130-133 from:
More in detail at .. Reference: http://www.zimbra.com/docs/ne/5.0.19/administration_guide/ZimbraProxy.7.1.html Reference: http://www.zimbra.com/docs/ne/latest/administration_guide/wwhelp/wwhimpl/js/html/wwhelp.htm to:
'''More in detail at''' .. '''Reference''': http://www.zimbra.com/docs/ne/5.0.19/administration_guide/ZimbraProxy.7.1.html '''Reference''': http://www.zimbra.com/docs/ne/latest/administration_guide/wwhelp/wwhimpl/js/html/wwhelp.htm Added lines 129-134:
More in detail at .. Reference: http://www.zimbra.com/docs/ne/5.0.19/administration_guide/ZimbraProxy.7.1.html Reference: http://www.zimbra.com/docs/ne/latest/administration_guide/wwhelp/wwhimpl/js/html/wwhelp.htm Added lines 29-30:
'''Commands to run on Proxy and mailstore''' Added lines 38-45:
or /opt/zimbra/libexec/zmproxyconfig -w -e -o -x https -a 8080:80:8443:443 -H mail.zimbra.lab zmcontrol restart /opt/zimbra/libexec/zmproxyconfig -w -e -o -x https -a 8080:80:8443:443 -H mail.zimbra.lab [zimbra@mail ~]$ zmcontrol restart Added lines 103-119:
'''Changing the values''' (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [zimbra@proxy includes]$ zmprov gs `zmhostname` |grep zimbraMailReferMode zimbraMailReferMode: wronghost [zimbra@proxy includes]$ zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied [zimbra@proxy includes]$ zmprov gs `zmhostname` |grep zimbraMailReferMode zimbraMailReferMode: reverse-proxied [zimbra@proxy includes]$ zmcontrol restart @] (:tableend:) Added lines 85-102:
'''Checking the configuration''' (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [zimbra@mail ~]$ zmprov gs `zmhostname`|egrep '8080|80|8443|443|zimbraMailReferMode|zimbraReverseProxyLookupTarget|zimbraMailMode' zimbraCreateTimestamp: 20111128063918Z zimbraMailMode: http zimbraMailPort: 8080 zimbraMailProxyPort: 80 zimbraMailReferMode: reverse-proxied zimbraMailSSLPort: 8443 zimbraMailSSLProxyClientCertPort: 3443 zimbraMailSSLProxyPort: 443 zimbraMtaAuthURL: http://mail.zimbra.lab:80/service/soap/ zimbraReverseProxyLookupTarget: TRUE @] (:tableend:) Changed lines 10-20 from:
to:
(:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [zimbra@proxy ~]$ zmprov gs `zmhostname`|egrep '8080|80|8443|443' zimbraMailPort: 8080 zimbraMailProxyPort: 80 zimbraMailSSLPort: 8443 zimbraMailSSLProxyClientCertPort: 3443 zimbraMailSSLProxyPort: 443 @] (:tableend:) Added line 23:
Changed lines 37-38 from:
Usage: /opt/zimbra/libexec/zmproxyconfig [-h] [-o] [-m] [-w] [-d [-r] [-s] [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-e [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-f] -H hostname to:
Usage: /opt/zimbra/libexec/zmproxyconfig [-h] [-o] [-m] [-w] [-d [-r] [-s] [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-e [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-f] -H hostname Changed lines 52-53 from:
-t: Disable reverse proxy lookup target for store server. Only valid with -d. Be sure that you intend for all proxy function for the server to be disabled to:
-t: Disable reverse proxy lookup target for store server. Only valid with -d. Be sure that you intend for all proxy function for the server to be disabled Added lines 1-74:
(:Google1:) (:Googlemm:) ---- !!Zimbra zmproxyconfig command ---- /opt/zimbra/libexec/zmproxyconfig. This comamnd was run on the proxy server. Format: HTTP-STORE:HTTP-PROXY:HTTPS-STORE:HTTPS-PROXY (Ex: 8080:80:8443:443) Format: IMAP-STORE:IMAP-PROXY:IMAPS-STORE:IMAPS-PROXY (Ex: 7143:143:7993:993) Format: POP-STORE:POP-PROXY:POPS-STORE:POPS-PROXY (Ex: 7110:110:7995:995) (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ /opt/zimbra/libexec/zmproxyconfig -m -e -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H proxy.zimbra.lab /opt/zimbra/libexec/zmproxyconfig -w -e -o -x http -a 8080:80:8443:443 -H proxy.zimbra.lab [root@proxy tmp]# @] (:tableend:) '''/opt/zimbra/libexec/zmproxyconfig -h''' (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ Usage: /opt/zimbra/libexec/zmproxyconfig [-h] [-o] [-m] [-w] [-d [-r] [-s] [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-e [-a w1:w2:w3:w4] [-i p1:p2:p3:p4] [-p p1:p2:p3:p4] [-x mailmode]] [-f] -H hostname -h: display this help message -H: Hostname of server on which enable/disable proxy functionality. -a: Colon separated list of Web ports to use. Format: HTTP-STORE:HTTP-PROXY:HTTPS-STORE:HTTPS-PROXY (Ex: 8080:80:8443:443) -d: disable proxy -e: enable proxy -f: Full reset on memcached port and search queries and POP/IMAP throttling. -i: Colon separated list of IMAP ports to use. Format: IMAP-STORE:IMAP-PROXY:IMAPS-STORE:IMAPS-PROXY (Ex: 7143:143:7993:993) -m: Toggle mail proxy portions -o: Override enabled checks -p: Colon separated list of POP ports to use. Format: POP-STORE:POP-PROXY:POPS-STORE:POPS-PROXY (Ex: 7110:110:7995:995) -r: Run against a remote host. Note that this requires the server to be properly configured in the LDAP master. -s: Set cleartext to FALSE (secure mode) on disable -t: Disable reverse proxy lookup target for store server. Only valid with -d. Be sure that you intend for all proxy function for the server to be disabled -w: Toggle Web proxy portions -x: zimbraMailMode to use on disable (Default: http) hostname is the value of the zimbra_server_hostname LC key for the server being modified. Required options are -f by itself, or -f with -d or -e. Note that -d or -e require one or both of -m and -w. Note that -i or -p require -m. Note that -a requires -w. Note that -x requires -w and -d for store. Note that -x requires -w for proxy. The following are the defaults for -a, -i, -p, and -x if they are not supplied as options. -a default on enable: 8080:80:8443:443 -a default on disable: 80:0:443:0 -i default on enable: 7143:143:7993:993 -i default on disable: 143:7143:993:7993 -p default on enable: 7110:110:7995:995 -p default on disable: 110:7110:995:7995 -x default on store disable: http -x default on proxy enable/disable: http @] (:tableend:) ---- (:Google1:) (:Googlemm:) |