How I Integrated z-push with zimbra

Ask questions about your setup or get help installing ZCS server (ZD section below).
sandmik
Posts: 7
Joined: Thu Oct 30, 2014 7:03 am

How I Integrated z-push with zimbra

Postby sandmik » Wed Nov 05, 2014 4:47 am

I looked at several ways to integrate z-push with zimbra with minimum modifications to zimbra itself.

Whether you have your z-push installation on the same server or not, you can use this method.

I personally installed z-push on the same server but I changed the port of z-push into 4433 (example).

Then to integrate z-push with my zimbra installation, this is what I did:


(change into zimbra username)
su zimbra
or 
sudo su zimbra (needed for ubuntu) 

1. change the permissions on this file to be able to edit it (rw):
chmod 644 /opt/zimbra/conf/nginx/templates/nginx.conf.web.https.default.template

2. edit the file and go to the location
location ^~ /Microsoft-Server-ActiveSync

3. in that block:
a. change:
proxy_pass ${web.upstream.target};
->
proxy_pass https://z-push.example.com:4433;

b. change (not sure if this is needed, but the first change should be enough)
set $mailhostport ${web.http.uport} 
->
set $mailhostport 4433;

4. restart cache:
zmproxyctl restart

That's it, you are free to point your proxy_pass entry to the same server or different server.
Hope this helps.



imanudin11
Outstanding Member
Outstanding Member
Posts: 292
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

How I Integrated z-push with zimbra

Postby imanudin11 » Tue Nov 11, 2014 5:38 am

Hi Sandmik,



wow, thanks for sharing. Usually, i am using Apache and make port 80 for Z-Push and 443 for Zimbra. On this guidance, where path location of Z-Push?
**

Best Regards,
Ahmad Imanudin - Sharing is Beautiful !
Personal Blog [EN] :http://www.imanudin.net
sandmik
Posts: 7
Joined: Thu Oct 30, 2014 7:03 am

How I Integrated z-push with zimbra

Postby sandmik » Wed Nov 12, 2014 11:03 am

Hi Ahmad,



The location of z-push is irrelevant for this technique.



You could have it on your own machine or a different machine, doesn't matter, the setting that you will change in nginx.conf.web.https.default.template will point to the url address of where your z-push is located and not the path location.



Cheers.
imanudin11
Outstanding Member
Outstanding Member
Posts: 292
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

How I Integrated z-push with zimbra

Postby imanudin11 » Thu Nov 13, 2014 3:30 am

Hi Sandmik,



ooh, i understand.



Thanks for your information
**

Best Regards,
Ahmad Imanudin - Sharing is Beautiful !
Personal Blog [EN] :http://www.imanudin.net
rameshnatta
Posts: 4
Joined: Tue May 19, 2015 2:19 am

How I Integrated z-push with zimbra

Postby rameshnatta » Sat May 23, 2015 1:51 am

hi,



installed as per your document, installed z-push in another system

how to configure in mobile with zimbra ip or z-push system ip

please help.
User avatar
Zied FAKHFAKH
Posts: 28
Joined: Tue Jan 07, 2014 1:43 am
Location: Tunisia
ZCS/ZD Version: ZCS 8.6
Contact:

How I Integrated z-push with zimbra

Postby Zied FAKHFAKH » Mon Mar 07, 2016 11:23 am

proxy_pass https://z-push.example.com:4433; should do it, careful with the updates

Return to “Installation and Upgrade”

Who is online

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