Proxy issue - how to verify proxy function on single-server install, after modifications?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
bisi
Posts: 15
Joined: Sat Sep 13, 2014 2:43 am
ZCS/ZD Version: many different versions from 6.x up

Proxy issue - how to verify proxy function on single-server install, after modifications?

Postby bisi » Wed Jul 08, 2020 6:25 am

I have a single-server install of zimbra 8.7.11 FOSS on which I have renamed the host.

it was mail2.domain.tld

it is now mail.domain.tld

Everything seems to be working correctly, BUT one of the tests in the guiding document, https://wiki.zimbra.com/wiki/ZmSetServerName, returned an incorrect result that took a lot of poking about to fix, namely:

Code: Select all

zimbra@mail:~$ zmprov gacf | grep -i ReverseProxyUpstreamLoginServers
zimbraReverseProxyUpstreamLoginServers: mail2.domain.tld


I eventually figured out that I need to issue:

Code: Select all

zimbra@mail:~$ zmprov mcf zimbraReverseProxyUpstreamLoginServers mail.domain.tld


but along the way I also issued this command (cribbed from https://wiki.zimbra.com/wiki/Enabling_Z ... leshooting ):

Code: Select all

zmprov ms mail2.domain.tld zimbraReverseProxyLookupTarget FALSE
It was the recommended action for the situation "If a non-mailbox server is listed, set the zimbraReverseProxyLookupTarget server configuration attribute to FALSE for that server."

This is the current value of the setting (I think it's the one I (?) mistakenly set).

Code: Select all

zimbra@mail:~$ zmprov gcf zimbraReverseProxyLookupTarget
zimbraReverseProxyLookupTarget: FALSE


BTW, the troubleshooting step that led me to issue the command in question now shows:

Code: Select all

zimbra@mail:~$ grep zm_lookup_handlers /opt/zimbra/conf/nginx/includes/nginx.conf.zmlookup
    zm_lookup_handlers  https://192.168.42.6:7072/service/extension/nginx-lookup;
This is the IP address of the single-server zimbra install.

So, my question is, how do I verify the proxying settings are correct?

From the same wiki page describing how to deploy proxy and memcached in existing non-proxy environments

Code: Select all

zimbra@mail:~$ lsof -i :443
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx   24214 zimbra   10u  IPv4 245767      0t0  TCP *:https (LISTEN)
nginx   24215 zimbra   10u  IPv4 245767      0t0  TCP *:https (LISTEN)
nginx   24216 zimbra   10u  IPv4 245767      0t0  TCP *:https (LISTEN)
nginx   24216 zimbra   22u  IPv4 290743      0t0  TCP mail.domain.tld:https->S01066038e0077acb.gv.shawcable.net:60044 (ESTABLISHED)
nginx   24217 zimbra   10u  IPv4 245767      0t0  TCP *:https (LISTEN)



Thanks in advance


Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 17 guests