Hi,

I have a problem with my Zimbra OSE 8.0.2 installation. The installtion holds e-mail accounts for 7 different domains. Everything works quite well, except exporting emailaccounts with zmmailbox.

Code:
zmmailbox --debug -v -z -m  "mail@mydomain.net" getRestURL "//?fmt=zip"
zmmailbox works for 3 out of my 7 domains. I compared the dns records of the different domains, but I can't find a difference between the domains which work and the domains which doesn't.

On domains where it doesn't work, the following output is printed to my shell:
Code:
ERROR: zclient.IO_ERROR (Unable to get REST resource from http://mydomain.net/home/mail@mydomain.net/?fmt=zip: Connection refused) (cause: java.net.ConnectException Connection refused)
com.zimbra.common.zclient.ZClientException: Unable to get REST resource from http://mydomain.net/home/mail@mydomain.net/?fmt=zip: Connection refused
ExceptionId:main:1357236877870:6fc686ee9c522e01
Code:zclient.IO_ERROR
	at com.zimbra.common.zclient.ZClientException.IO_ERROR(ZClientException.java:45)
	at com.zimbra.client.ZMailbox.getRESTResource(ZMailbox.java:2588)
	at com.zimbra.client.ZMailbox.getRESTResource(ZMailbox.java:2534)
	at com.zimbra.cs.zclient.ZMailboxUtil.doGetRestURL(ZMailboxUtil.java:3011)
	at com.zimbra.cs.zclient.ZMailboxUtil.execute(ZMailboxUtil.java:1212)
	at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUtil.java:2903)
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
	at java.net.Socket.connect(Socket.java:579)
	at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:42)
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:28)
	at com.zimbra
The last succsessfull SOAP message zmmailbox receives, is the on which contains lots of information about the email account, like aliases and preferences.

mailbox.log looks like this:
Code:
2013-01-03 19:51:06,654 INFO  [qtp2082001544-515:https://127.0.0.1:7071/service/admin/soap/GetAccountInfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] misc - delegated access: doc=GetAccountInfo, authenticated account=zimbra, target account=mail@mydomain.net
2013-01-03 19:51:06,655 INFO  [qtp2082001544-515:https://127.0.0.1:7071/service/admin/soap/GetAccountInfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] soap - GetAccountInfoRequest elapsed=8
2013-01-03 19:51:06,756 INFO  [qtp2082001544-514:https://127.0.0.1:7071/service/admin/soap/DelegateAuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] misc - delegated access: doc=DelegateAuth, authenticated account=zimbra, target account=mail@mydomain.net
2013-01-03 19:51:06,757 INFO  [qtp2082001544-514:https://127.0.0.1:7071/service/admin/soap/DelegateAuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] soap - DelegateAuthRequest elapsed=1
2013-01-03 19:51:06,884 INFO  [qtp2082001544-515:https://172.16.84.128:7071/service/admin/soap/GetInfoRequest] [name=mail@mydomain.net;aname=zimbra;mid=60;ip=172.16.84.128;ua=zclient/8.0.2_GA_5569;] misc - delegated access: doc=GetInfo, delegating account=zimbra, authenticated account=mail@mydomain.net, target account=mail@mydomain.net
2013-01-03 19:51:06,906 INFO  [qtp2082001544-515:https://172.16.84.128:7071/service/admin/soap/GetInfoRequest] [name=mail@mydomain.net;aname=zimbra;mid=60;ip=172.16.84.128;ua=zclient/8.0.2_GA_5569;] soap - GetInfoRequest elapsed=22
Additional information:
The server has a SplitDNS setup cause it runs behind NAT.

Do you have any idea where I can search for the reason of the "connection refused" error?

Thanks in advance and kind regards,
fish