PostRestURL Without Split DNS

PostRestURL without SplitDNS

   KB 15129        Last updated on 2015-07-11  

(0 votes)


A zmmailbox postRestURL command fails with an UnknownHostException.

zmmailbox -z -m postRestURL "inbox?fmt=zip&timestamp=0&subfolder=/test" /tmp/
ERROR: zclient.IO_ERROR ( (cause:


This issue usually occurs when the mailbox server is running in "reverse-proxied" mode and the configured value of the domain's public service hostname and port are unreachable by the server. This condition is normally caused when the architecture is configured without split DNS and/or the public service ports are blocked preventing access by the mailbox server.

zmprov -l gs `zmhostname` zimbraMailReferMode
zimbraMailReferMode: reverse-proxied

zmprov -l gd zimbraPublicServiceHostname zimbraPublicServicePort zimbraPublicServiceProtocol
zimbraPublicServicePort: 443
zimbraPublicServiceProtocol: https

In the example, the error returned is meaning the mailbox server is unable to resolve the public service hostname in DNS.


Add an entry in the /etc/hosts file on the mailbox server for the public service hostname that points directly to a valid reverse proxy server or the load balanced IP address (VIP) for the proxy server. If more than one proxy server is in use without a VIP, just point the public service hostname to any production proxy server and make sure TCP connectivity to the public service port is successful.

Verified Against: ZCS 6.0, 5.0 Date Created: 7/14/2011
Article ID: Date Modified: 2015-07-11

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search