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. SOGo
  3. ActiveSync

ActiveSync

Scheduled Pinned Locked Moved Solved SOGo
41 Posts 11 Posters 7.4k Views 12 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #13

    @vladimir-d worked on enabling active sync for SOGo however I am a bit at a loss how to test this even on windows. For some reason I all the outlook/mail/office365 clients I have tried from Microsoft only support adding exchange server via the Microsoft account.

    Does anyone have a good guide on how to add a custom active sync server so we can test and fix the SOGo app?

    1 Reply Last reply
    0
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by fbartels
      #14

      Under windows 10 you can use the "Mail" app.

      image.png

      When you add an account you need to scroll down to the "Advanced setup"

      image.png

      And then you can choose Exchange ActiveSync as the account type:

      image.png

      The data for the server should look something like this, you can leave the domain setting empty:

      42dc14ed-37d0-4904-8948-1270f65dddf7-image.png

      1 Reply Last reply
      2
      • A Offline
        A Offline
        AartJansen
        wrote on last edited by
        #15

        Can you use microsofts remote connectivity test site?
        https://testconnectivity.microsoft.com/tests/O365Eas/input

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jarod
          wrote on last edited by
          #16

          Don't want to create bad blood, but you could take a look at the mailcow SoGo implementation. It has working ActiveSync.

          1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #17

            @fbartels unfortunately the "Mail" app which is installed on that machine only has exchange together with an MS account. But also the app icon is already slightly different. Not sure how I can get the older version of it back.

            That's a bit of the issue with all those guides I found, little match to what I see.

            fbartelsF 1 Reply Last reply
            0
            • nebulonN nebulon

              @fbartels unfortunately the "Mail" app which is installed on that machine only has exchange together with an MS account. But also the app icon is already slightly different. Not sure how I can get the older version of it back.

              That's a bit of the issue with all those guides I found, little match to what I see.

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

              @nebulon you can use dockurr/windows for a simple throwaway machine with windows 10, just use the following docker compose file:

              version: "3"
              services:
                windows:
                  image: dockurr/windows
                  container_name: windows
                  environment:
                    VERSION: "win10"
                  devices:
                    - /dev/kvm
                  cap_add:
                    - NET_ADMIN
                  ports:
                    - 8006:8006
                    - 3389:3389/tcp
                    - 3389:3389/udp
                  stop_grace_period: 2m
                  restart: on-failure
              

              after a docker compose up it will download the windows 10 iso, do an unattended installation and a few minutes later you can see the windows desktop through port 8006 or via rdp. This one above still has the old mail app as well.

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #19

                @fbartels great suggestion! Works well via browser vnc and I was able to set up exchange via SOGo. Login works however various Windows error codes are thrown when syncing or sending mails. So this will probably require more work.

                image.png

                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #20

                  In the latest package now has active sync enabled. It should be enabled without having to adjust configs just update to latest. Please report back any issues!

                  J G 2 Replies Last reply
                  2
                  • nebulonN nebulon

                    In the latest package now has active sync enabled. It should be enabled without having to adjust configs just update to latest. Please report back any issues!

                    J Offline
                    J Offline
                    Jarod
                    wrote on last edited by
                    #21

                    @nebulon Works great. Maybe add an hint somewhere, that you have to point you mail client to the sogo domain and not the mail server domain. It is logical but I only got to the conclusion after a few seconds of receiving an error.

                    1 Reply Last reply
                    2
                    • P Offline
                      P Offline
                      privsec
                      wrote on last edited by
                      #22

                      What what!?!

                      Active sync is now working!?!!!

                      1 Reply Last reply
                      1
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      • S Offline
                        S Offline
                        scurtis
                        wrote on last edited by
                        #23

                        What is the format of the Activesync URL for SoGo?

                        I was trying to set it up on iOS which logs in fine but doesnt sync. Am assuming the Activesync URL is more than just the https://sogo.domain.name

                        Thanks.

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

                          Something like:

                          image.png

                          image.png

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            scurtis
                            wrote on last edited by
                            #25

                            Thanks for the screenshots - all working now. Appears to be working well - this is a really good choice for email/calendar/contacts all synced to iOS now.

                            I also tried adding autodiscover DNS CNAME and SRV entries as per a post on the SOGO mailing list - but that doesn't seem to work. Might be nice if the correct DNS entries for this could be worked out to simplify client setup.

                            1 Reply Last reply
                            2
                            • girishG girish referenced this topic on
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #26

                              @scurtis from what I have read in msn docs, you have to set up a autodiscover.xml. Maybe you can try https://docs.cloudron.io/email/#autodiscoverxml

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                Jarod
                                wrote on last edited by Jarod
                                #27
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • andreasduerenA Offline
                                  andreasduerenA Offline
                                  andreasdueren
                                  wrote on last edited by
                                  #28

                                  Seems to work well on iOS, thank you so much for finally implementing this!

                                  However on macOS I can connect to it but it won't actually load my mails in the app:

                                  Screenshot 2024-05-31 at 09.33.08.png Screenshot 2024-05-31 at 09.33.24.png

                                  Any idea what's wrong?

                                  fbartelsF 1 Reply Last reply
                                  0
                                  • andreasduerenA andreasdueren

                                    Seems to work well on iOS, thank you so much for finally implementing this!

                                    However on macOS I can connect to it but it won't actually load my mails in the app:

                                    Screenshot 2024-05-31 at 09.33.08.png Screenshot 2024-05-31 at 09.33.24.png

                                    Any idea what's wrong?

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

                                    @andreasdueren the macOS mail app only implements ews (exchange webservices) and not eas (exchange active sync).

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

                                      @andreasdueren FYI, I found this Apple reference and it seems to imply a difference between mac OSX and iOS/iPadOS support... which was more clearly summarized by @fbartels:) And this Microsoft reference on the difference between EAS and EWS.

                                      1 Reply Last reply
                                      3
                                      • nebulonN nebulon

                                        In the latest package now has active sync enabled. It should be enabled without having to adjust configs just update to latest. Please report back any issues!

                                        G Offline
                                        G Offline
                                        Guillaume
                                        wrote on last edited by
                                        #31

                                        @nebulon Many thanks for this !
                                        It seems to work pretty well, take my subscription Cloudron ! 🙂

                                        1 Reply Last reply
                                        1
                                        • J Offline
                                          J Offline
                                          Jarod
                                          wrote on last edited by
                                          #32

                                          @nebulon ActiveSync is kinda hard on resources. How can I disable it, so that my users cannot use it? I tried to edit the nginx.conf in the SOGo pack via terminal, but it's read-only, so I don't wanna mess with it.

                                          1 Reply Last reply
                                          1
                                          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