Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. ActiveSync / Push Notifications for Cloudron Mailserver

ActiveSync / Push Notifications for Cloudron Mailserver

Scheduled Pinned Locked Moved Feature Requests
20 Posts 7 Posters 3.6k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    I had to look up the difference between IMAP IDLE and ActiveSync. Per https://www.aspnix.com/kb/sales-kb/imap-idle-vs-activesync/, "While IMAP IDLE provides real-time notifications to your client, it differs from ActiveSync in many ways. IMAP IDLE is an extension of the IMAP protocol (as described here) and IMAP being a message protocol, it handles only email. ActiveSync (as described here) handles email, calendar, contacts, notes and tasks, and syncs them across all of your clients (that support ActiveSync, including devices)."

    jdaviescoatesJ 1 Reply Last reply
    1
    • girishG girish

      I had to look up the difference between IMAP IDLE and ActiveSync. Per https://www.aspnix.com/kb/sales-kb/imap-idle-vs-activesync/, "While IMAP IDLE provides real-time notifications to your client, it differs from ActiveSync in many ways. IMAP IDLE is an extension of the IMAP protocol (as described here) and IMAP being a message protocol, it handles only email. ActiveSync (as described here) handles email, calendar, contacts, notes and tasks, and syncs them across all of your clients (that support ActiveSync, including devices)."

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #3

      @girish I also note that it adds:

      "IMAP IDLE can also only generally receive notifications for the folder you currently have selected / viewing. ActiveSync does not have this limitation and receives real-time notifications for all folders."

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      1
      • jimcavoliJ Offline
        jimcavoliJ Offline
        jimcavoli
        App Dev
        wrote on last edited by
        #4

        I've been looking at packaging EAS support broadly through the excellent Kopano-affiliated Z-Push - https://z-push.org - before. I'm just not sure if that would be more useful for the box generally, as a standalone, or as an additional component of some of the webmail app(s).

        girishG 1 Reply Last reply
        1
        • jimcavoliJ jimcavoli

          I've been looking at packaging EAS support broadly through the excellent Kopano-affiliated Z-Push - https://z-push.org - before. I'm just not sure if that would be more useful for the box generally, as a standalone, or as an additional component of some of the webmail app(s).

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          IIRC, @nebulon tried integrating z-push into mail server or SOGo a long time ago, I don't recall entirely. @nebulon do you remember?

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            Don't mind me. The history of that task is at https://git.cloudron.io/cloudron/sogo-app/-/issues/4 . I have to look closer to understand whether it makes sense to integrate ActiveSync in SOGo or in the mail server itself. It looks like it belongs in SOGo but I am not 100% sure.

            jimcavoliJ 1 Reply Last reply
            1
            • girishG girish

              Don't mind me. The history of that task is at https://git.cloudron.io/cloudron/sogo-app/-/issues/4 . I have to look closer to understand whether it makes sense to integrate ActiveSync in SOGo or in the mail server itself. It looks like it belongs in SOGo but I am not 100% sure.

              jimcavoliJ Offline
              jimcavoliJ Offline
              jimcavoli
              App Dev
              wrote on last edited by
              #7

              @girish I tend to agree for that particular app's packaging, though for folks using other solutions for calendar/contacts or who want a more arbitrary mapping, perhaps a freestanding packaging would still make sense, just automating the setup for the Cloudron mail server bit?

              girishG 1 Reply Last reply
              1
              • jimcavoliJ jimcavoli

                @girish I tend to agree for that particular app's packaging, though for folks using other solutions for calendar/contacts or who want a more arbitrary mapping, perhaps a freestanding packaging would still make sense, just automating the setup for the Cloudron mail server bit?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                @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)

                jimcavoliJ 1 Reply Last reply
                1
                • girishG girish

                  @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)

                  jimcavoliJ Offline
                  jimcavoliJ Offline
                  jimcavoli
                  App Dev
                  wrote on last edited by
                  #9

                  @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.

                  girishG 1 Reply Last reply
                  1
                  • jimcavoliJ jimcavoli

                    @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.

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #10

                    @jimcavoli Very nice, open to have this is as a separate app, if it's easy to package.

                    jimcavoliJ 1 Reply Last reply
                    1
                    • girishG girish

                      @jimcavoli Very nice, open to have this is as a separate app, if it's easy to package.

                      jimcavoliJ Offline
                      jimcavoliJ Offline
                      jimcavoli
                      App Dev
                      wrote on last edited by
                      #11

                      @girish Yeah, fairly. All traditional PHP. Doesn't have any admin interface or whatever - designed to be configured in the PHP files. I'll see about throwing something together - should we keep that discussion here for now?

                      girishG 1 Reply Last reply
                      1
                      • jimcavoliJ jimcavoli

                        @girish Yeah, fairly. All traditional PHP. Doesn't have any admin interface or whatever - designed to be configured in the PHP files. I'll see about throwing something together - should we keep that discussion here for now?

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #12

                        @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.

                        jimcavoliJ fbartelsF 2 Replies Last reply
                        1
                        • girishG girish

                          @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.

                          jimcavoliJ Offline
                          jimcavoliJ Offline
                          jimcavoli
                          App Dev
                          wrote on last edited by
                          #13

                          @girish Yeah, at this point in time. At least if we change our minds from there, it's easy enough to change up later. Created https://forum.cloudron.io/topic/4311/z-push and added it to my personal list 🙂

                          1 Reply Last reply
                          2
                          • girishG girish

                            @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.

                            fbartelsF Offline
                            fbartelsF Offline
                            fbartels
                            App Dev
                            wrote on last edited by fbartels
                            #14

                            @girish you could compare Z-Push to a webmail client, but instead of using your webbrowser you use an activesync client to open it.

                            So treating it like the other webmail interfaces would make sense

                            1 Reply Last reply
                            4
                            • C Offline
                              C Offline
                              CBCUN
                              wrote on last edited by
                              #15

                              Hello,
                              when ist the Z-Push App available? Do you have a Roadmap for this?

                              Greetings Chris

                              1 Reply Last reply
                              0
                              • subvenS subven referenced this topic on
                              • C Offline
                                C Offline
                                crazybrad
                                wrote on last edited by
                                #16

                                @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?

                                fbartelsF 1 Reply Last reply
                                2
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #17

                                  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

                                  C 1 Reply Last reply
                                  1
                                  • C crazybrad

                                    @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?

                                    fbartelsF Offline
                                    fbartelsF Offline
                                    fbartels
                                    App Dev
                                    wrote on last edited by
                                    #18

                                    @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.

                                    1 Reply Last reply
                                    4
                                    • C Offline
                                      C Offline
                                      crazybrad
                                      wrote on last edited by
                                      #19

                                      @fbartels Thanks for the reference and transparency. Kopano Cloud looks interesting and we will consider it for future projects. @girish Thank you for revisiting this.

                                      1 Reply Last reply
                                      0
                                      • girishG girish

                                        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

                                        C Offline
                                        C Offline
                                        crazybrad
                                        wrote on last edited by
                                        #20

                                        @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.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search