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 6.1k 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 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
                                • nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #33

                                  How is this showing up resources wise? I would assume this will only impact, if active sync clients are used.

                                  J 1 Reply Last reply
                                  0
                                  • nebulonN nebulon

                                    How is this showing up resources wise? I would assume this will only impact, if active sync clients are used.

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

                                    @nebulon I added three of my accounts on my iPhone. In roundabout 5 seconds, it produced more the 500 lines of log. And this all the time.

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

                                      Have you tried to use imap/smtp instead of active sync on the iphone then?

                                      J 1 Reply Last reply
                                      0
                                      • nebulonN nebulon

                                        Have you tried to use imap/smtp instead of active sync on the iphone then?

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

                                        @nebulon Yes. It works way better. The question still is, how I can block active sync. I have roundabout 30 user on my instance and I don't want one to accidentally ActiveSync.

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

                                          ActiveSync is indeed a bit hard to test from my side. Is the main reason here that the logs are flooding the system or something else? Maybe we have to reduce logging. Have you looked upstream with SOGo to get some info on active sync and resource usage?

                                          J 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