ActiveSync / Push Notifications for Cloudron Mailserver
-
@jimcavoli How would that work? The z-push server can pull in data from an arbitrary caldav/cardav/imap ?
(I am not an expert on this, so excuse my basic questions)
-
@girish It's actually pretty slick. Z-Push supports multiple backends for each of the major components, but there's also
BackendCombined
which allows you to use any of the others (IMAP/CardDav/CalDAV/LDAP/Kopano/MailDir/SQL/more - full list at https://github.com/Z-Hub/Z-Push/tree/develop/src/backend) in combination to serve all the various resources supported. -
@jimcavoli Very nice, open to have this is as a separate app, if it's easy to package.
-
-
@jimcavoli Just to confirm. You think it's a better idea to put this as a separate app than to integrate into mail server, correct? (I think so too from my understanding of how this works with other apps, but want to confirm). If so, let's create a z-push app request and let's continue there. We can probably close this thread.
-
-
@girish Did Z-Push ever make the final cut for the App Store? Since Zopano stopped supporting this, a new maintainer has emerged (https://kopano.com/blog/z-push-has-a-new-home-and-a-new-maintainer/) and Z-Push appears to have been updated to PHP8+ which is encouraging. @fbartels In searching for z-push I even found an old docker repo you were playing with 9 years ago! This could be a very powerful option for Cloudron email with ActiveSync as an alternative to Exchange/O365. Any interest in pursuing this?
-
We haven't explorer further. I did quickly check if the packages are still there, but atleast on Ubuntu 23, it's gone.
$ apt search z-push
Sorting... Done
Full Text Search... Done$ apt search z-push-backend-imap
Sorting... Done
Full Text Search... Done -
@crazybrad said in ActiveSync / Push Notifications for Cloudron Mailserver:
n searching for z-push I even found an old docker repo you were playing with 9 years ago
If you look into what you call Zopano, then you will find my name in a lot more places, since to this day Kopano is still my employer
The diff backend used in Z-Push for imap mailboxes is not very efficient, but as long as its only a couple devices it should work. The Kopano backend of Z-Push scales better, but also has its limitations.
The reason for retiring the old project is that we have moved over to a different architecture with a fresh and better scaleable implementation of ActiveSync. If you look into a full Exchange replacement, then https://kopano.com/products/cloud/ may be interesting to you.
-
@girish Seems like the package dependencies are all PHP related (php php-cli php-soap php-mbstring php-imap libawl-php php-curl php-xml php-ldap). I searched on one of my Ubuntu 22.04 LTS instances and all packages were available. I don't have Ubuntu 23 so I can't check that version specifically. Given these are fairly standard libs I would hope they will be available in subsequent Ubuntu releases (23+). FYI, installation details are here for Ubuntu 22.04: https://github.com/Z-Hub/Z-Push/wiki/Installation#Z-Push-on-Ubuntu-2204.