Coder Social home page Coder Social logo

zcs-zpush's Introduction

Please see Exchange ActiveSync for Zimbra Open Source Edition article here : https://imanudin.net/2019/08/30/exchange-activesync-for-zimbra-open-source-edition/

zcs-zpush

This repository is source for integrating Zimbra Single Server and Z-Push + Zimbra Backend to achieve ActiveSync on Zimbra OSE.

Integrating Zimbra and Z-push on CentOS 7

Install dependecies

yum install epel-release -y
yum update -y
yum upgrade -y
yum install git php-cli php-soap php-process php-mbstring -y

Clone repo

git clone https://github.com/imanudin11/zcs-zpush.git

Create folder for log

mkdir /var/lib/z-push /var/log/z-push
chmod 755 /var/lib/z-push /var/log/z-push
chown zimbra:zimbra /var/lib/z-push /var/log/z-push

Save z-push folder on /opt/

cp -rvf z-push /opt/

Create symlink

ln -sf /opt/z-push /opt/zimbra/jetty/webapps/

Save php script on /usr/bin

cp php-cgi-fix.sh /usr/bin/php-cgi-fix.sh
chmod +x /usr/bin/php-cgi-fix.sh

Change publicHostname domain on your Zimbra into localhost

su - zimbra -c 'zmprov md yourzimbradomain.tld zimbraPublicServiceHostname localhost'
su - zimbra -c 'zmprov md yourzimbradomain.tld zimbraPublicServiceProtocol https'

Backup and replace jetty.xml.in

cp /opt/zimbra/jetty/etc/jetty.xml.in /opt/zimbra/jetty/etc/jetty.xml.in.backup
cp jetty.xml.in-for-zcs-8815 /opt/zimbra/jetty/etc/jetty.xml.in
chown zimbra.zimbra /opt/zimbra/jetty/etc/jetty.xml.in

Replace php.ini

cp /etc/php.ini /etc/php.ini.backup
cp php.ini /etc/php.ini

Restart Zimbra Mailbox

su - zimbra -c 'zmmailboxdctl restart'

For testing, please access https://ip-of-zimbra/Microsoft-Server-ActiveSync from your browser. Or you can configure your mobile devices and ensure exchange as protocol

zcs-zpush's People

Contributors

imanudin11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

zcs-zpush's Issues

issue with zpush error log

Hi,
Recently configured it on a outlook on exchange moments later i get this on the logs

05/01/2020 22:46:31 [26422] [ERROR] [[email protected]] NotImplementedException: Folderid 'f327' is saved to be of type '18' but this type is not implemented - code: 0 - file: /opt/z-push/lib/core/devicemanager.php:448
05/01/2020 22:46:31 [26422] [FATAL] [[email protected]] WBXML debug data: AwFqAEVcT0sDe2ViYzNiN2IyLTJkNjEtNGRkNS1iMmVjLTUwNDVjMWY5NmE4M301AAFSA2YyAAFeAzAAAVUDNTEyAAFXWAMwAAFiAzIAAWMDOAABABFFRgM0AAFIAzEAAQEBAQAAT0sDe2YwNWNhMTdmLWE0ODktNDI3Yi1iNzc0LTJkYWVlOTNhMDFjMn0yAAFSA2YxMAABXgMwAAFVAzUxMgABV1gDMAABABFFRgMxAAFIAzEAAQEBAQAAT0sDezI5YTQyOWYzLTg4N2QtNDBmYi1iMTM1LTNkNjMwODBiMmY4OX0xAAFSA2Y3AAFeAzAAAVUDNTEyAAFXWAMwAAEAEUVGAzEAAUgDMQABAQEBAABPSwN7Y2I5OGZmZTQtZWE4OS00MTJiLThlZmQtMjg0OGQzM2IwMzgxfTEAAVIDZjMAAV4DMAABVQM1MTIAAVdYAzAAAWIDMgABYwM4AAEAEUVGAzQAAUgDMQABAQEBAABPSwN7YzliMTU4NzYtYjc0ZS00Y2FjLWJlMjQtNDNmMjljOWZkZDFhfTMAAVIDZjUAAV4DMAABVQM1MTIAAVdYAzAAAWIDMgABYwM4AAEAEUVGAzQAAUgDMQABAQEBAABPSwN7NTAyODI4ZDYtZTRiZC00MDZiLTgzNmQtMTRiYjZhMjQzYTEzfTEAAVIDZjE1AAFeAzAAAVUDNTEyAAFXWAMwAAEAEUVGAzEAAUgDMQABAQEBAABPSwN7OTM3OGUxZjMtMmE3YS00YzQ0LWI3NzEtNjBkMzQ4NWNjOTRjfTEAAVIDZjE0AAFeAzAAAVUDNTEyAAFXWAMwAAFiAzIAAWMDOAABABFFRgM0AAFIAzEAAQEBAQAAT0sDe2UzYTc1NmUxLWRiOTYtNDUyZi1iZGI5LTY3OWRkZjQ0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0LWI3NzEtNjBkMzQ4NWNjOTRjfTEAAVIDZjE0AAFeAzAAAVUDNTEyAAFXWAMwAAFiAzIAAWMDOAABABFFRgM0AAFIAzEAAQEBAQAAT0sDe2UzYTc1NmUxLWRiOTYtNDUyZi1iZGI5LTY3OWRkZjQ0ZThmM30xAAFSA2Y0AAFeAzAAAVUDNTEyAAFXWAMwAAFiAzIAAWMDOAABABFFRgM0AAFIAzEAAQEBAQAAT0sDMAABUgNmMzk5AAFeAzAAAVMDMAABVQM1MTIAAVdYAzAAAQARRUYDMQABSAMxAAEBAQEAAE9LAzAAAVIDZjMyNwABXgMwAAFTAzAAAVUDNTEyAAFXWAMwAAFiAzIAAWMDOAABABFFRgM0AAFIAzEAAQEBAQEAAFUDMTYAAQE=
05/01/2020 22:46:31 [26422] [FATAL] [[email protected]] Exception: (NotImplementedException) - Folderid 'f327' is saved to be of type '18' but this type is not implemented
05/01/2020 22:46:31 [26422] [FATAL] [[email protected]] Exception: (NotImplementedException) - Folderid 'f327' is saved to be of type '18' but this type is not implemented
05/01/2020 22:46:32 [26433] [ERROR] [[email protected]] NotImplementedException: Folderid 'f327' is saved to be of type '18' but this type is not implemented - code: 0 - file: /opt/z-push/lib/core/devicemanager.php:448
05/01/2020 22:46:32 [26433] [ERROR] [[email protected]] NotImplementedException: Folderid 'f327' is saved to be of type '18' but this type is not implemented - code: 0 - file: /opt/z-push/lib/core/devicemanager.php:448
05/01/2020 22:46:32 [26433] [FATAL] [[email protected]] WBXML debug data: AwFqAAANRUgDMzU0MAABSUpLA2YyAAFMA0VtYWlsAAEBSksDZjEwAAFMA0NhbGVuZGFyAAEBSksDZjcAAUwDQ29udGFjdHMAAQFKSwNmMwABTANFbWFpbAABAUpLA2Y1AAFMA0VtYWlsAAEBSksDZjE1AAFMA1Rhc2tzAAEBSksDZjE0AAFMA0VtYWlsAAEBSksDZjQAAUwDRW1haWwAAQFKSwNmMzk5AAFMA1Rhc2tzAAEBSksDZjMyNwABTANFbWFpbAABAQEB
05/01/2020 22:46:32 [26433] [FATAL] [[email protected]] WBXML debug data: AwFqAAANRUgDMzU0MAABSUpLA2YyAAFMA0VtYWlsAAEBSksDZjEwAAFMA0NhbGVuZGFyAAEBSksDZjcAAUwDQ29udGFjdHMAAQFKSwNmMwABTANFbWFpbAABAUpLA2Y1AAFMA0VtYWlsAAEBSksDZjE1AAFMA1Rhc2tzAAEBSksDZjE0AAFMA0VtYWlsAAEBSksDZjQAAUwDRW1haWwAAQFKSwNmMzk5AAFMA1Rhc2tzAAEBSksDZjMyNwABTANFbWFpbAABAQEB
05/01/2020 22:46:32 [26433] [FATAL] [[email protected]] Exception: (NotImplementedException) - Folderid 'f327' is saved to be of type '18' but this type is not implemented
05/01/2020 22:46:32 [26433] [FATAL] [[email protected]] Exception: (NotImplementedException) - Folderid 'f327' is saved to be of type '18' but this type is not implemented

Thank you

Zimbra patch 32 Issue

Dear Imanudin.

IN zimbra patch 32 jetty is updated to version 9.4.46. They have change the below syntax on line 125.

"zimbraSslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server"

The same is not update on jetty.xml.in-for-zcs-8815 file. So after replacing update jetty.xml.in file with the one which you have provided the mailbox service stops working and gives the below error.

Error: KeyStores with multiple certificates are not supported on the base

I request you to update your jetty file and add the missing syntex i.e. $Server at the end of all the files.

Regards,
Sandeep Patel

Question

Hi,
The changing hostname to locehost is not affecting zimbra ?
I will want to use smtp imap etc not only excange.
I need some more informations about that, i am beginner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.