-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exchange Active Sync #7
Comments
Hello,
Yes. But I don't have any device to test this, so it was probably never tested. So any feedback of this feature is welcome. |
I test the testing branch on my VPS, SOGo works fine but i can't synchronise via Active Sync. This is what i do : I tried many options, but doesn't work for me. Z-push is not necessary ? Do you need some logs ? Thx |
Ok. On which device are you trying this ? Marybe you don't need to specify |
I tried on my Android device (with full url and the short one) by using Adding a new echange account. |
Hello, Sorry for the late answer. Have you any log from your android device (with |
Hi, |
Hello,
What do you mean by plugin ? |
Additionnal package for sogo : https://sogo.nu/files/docs/SOGoInstallationGuide.html#_microsoft_enterprise_activesync |
Ok, well, I think that in debian it's natively included as there are no specific package for this in debian.
|
in nginx / sogo.conf I have thé good conf : For ActiveSynclocation /Microsoft-Server-ActiveSync/ { So my Android phone doesn't reconize the URL SOGo/Microsoft-Server-ActiveSync |
Here is my SOGo logs :
Normaly SOGo execute POST action after ? |
I found the issue:
We weed to disable the cookies in the SSO, but I don't know if it will be possible. Actually I don't think, and in the future if it will be possible. |
I didn't find your cookies issue in my logs : Aug 27 12:08:47 sogod [15514]: |SOGo| starting method 'GET' on uri '/SOGo/Microsoft-Server-ActiveSync/' |
It's on the phone with adb logcat |
Hello, I just saw the answer : YunoHost/SSOwat#161 (comment) I think I should add auth_header parameter in /etc/ssowat.conf.json but where in this file ? Thanks |
Hello, Firstly this settings is for now not available on the stable version. It's only on development. And secondly I'm really not sure that this setting will fix this issue. |
Ok |
Well actually it's not a beta. It's just a pull request. To use it you need a development environment. |
@Josue-T hey there, any update on this? as the other z-push app for yunohost also isn't working I thought maybe I can get it this way (just for Anroid phones, for synch on PC I use caldav/carddav with outlook) |
I just upgraded -> testing branch -> didn't fix it. |
Well, I'm working on the implementation of new permission system on this app but is not already released. So it's normal that it change nothing... |
@Josue-T But did you manage to make ActiveSync working? could you tell me what to do to make it work on my setup? I'm sorry.. I just read the comments again.. and found out that you're creating the fundamentals to make this work.. |
Hello, I'm working on the permission system. When this is implemented it might work. And if not we will need to debug more. I pushed a branch with the new permission system that I have written. You can try it but it could be buggy, I haven't tested for now. |
-> the install failed with the following log:
|
somehow I don't really find the problem.. do you have an idea on how to find what went wrong? yunohost log display 20210126-225723-permission_delete-sogo tells me:
|
Maybe this YunoHost/SSOwat#182 might fix the issue. |
Hi, I would like to just chime in with: I am also having this issue. I started with z-push but it wouldn't even install on my yunohost, and then found SOGo. I love it, I can get imap with emails to work, but I cannot get activesync/exchange working and that kind of sucks because an exchange setup on Android trumps all setups imo because of the then native calendar and contact sync/setup, the email is a plus. I have read through everything I can find and cannot make it work |
@Josue-T did that fix the issue? With our current setup ( YH 11.0.10.2, SOGo 5.0.1~ynh1) we still cannot use ActiveSync. Any updates on this? Thanks! |
Good evening, 3 friends of mine setup yunohost and loves it, but now they run into a massive problem that ActiveSync is not working on Sogo/Yunohost. Has anybody found a solution to this problem? |
Test using Windows 11 with Outlook 2016 ProSOGO:Domain: sogo.MYDOMAIN.com Trying to setup ActiveSync Account for [email protected] using Exchange in Outlook accesses the main MYDOMAIN.com:I general looks like the MS is accessing the account using their 52.125.140.0 and not the laptop direct. This can not be in the sense of GDPR???????
This porbably can not work, because Sogo is on sogo.MYDOMAIN.com Trying to setup ActiveSync Account for [email protected] using Exchange in Outlook accesses the main MYDOMAIN.com:
and also accesses the sogo.MYDOMAIN.com
The error on Outlook shows is: Something has not worked, Outlook could not setup the account. If you add the account manually via Account Settings -> Add Account you can set: Name, E-Mail [email protected], E-Mail Server sogo.MYDOMAIN.com, Username (tried name and email) and Password it accesses sogo.MYDYNIP.com:
and finally says Server was not found, after these 2 requests. The Sogo log does not say to much:
Things breaks kinda early as it looks like. |
Hello, #23 should fix some issue linked to this, @vsatmydynipnet can you check if it fix the problem ? |
I am back at my PC Saturday and be happy to test. I am no dev, so do you have any instructions for me how to apply the patch? I saw the changes in install and upgrade, but unsure how to apply and recreate the URL'S. Thank you! |
You can just run this command:
|
This is only a note, unsure why this happens, but we had to touch /etc/stunnel/sogo.conf to be able to install it.
We will test ActiveSync later, but fix is applied now after the touch. |
Test of fix_permissions
Created a user test9876 on domain.tld which is the mail domain, comapared to sogo.domain.tld for sogo. Trying to login via: https://sogo.domain.tld/SOGo results in:
NGInx Log shows the same 501 for /SOGo/connect POST. Rebooting the server after the update to make sure all is loaded. OK, now login with test9876 and password via https://sogo.domain.tld/SOGo works and we start testing with Outlook 2016. ############################################################################## TEST version 1##############################################################################
Email Address [email protected] Continue -> Results in Error LOGS: sogo.log:
NGINX access.log
error.log
domain.tld-access.log
domain.tld-error.log
sogo.domain.tld-access.log
############################################################################## TEST version 2##############################################################################
Email Address [email protected] Continue -> Results in Error LOGS: sogo.log:
access.log
error.log
domain.tld-access.log
domain.tld-error.log
sogo.domain.tld-access.log
Also the ended in error. I hope the logs helps to find out whats going wrong. Thank you for your help! |
UpdateTo move one step further here we have setup a iredmail server which is using sogo too and tested the functionality. With iredmail ActiveSync works perfect with the above Outlook. I coy the working config files here, maybe somebody has the time to compare them with the Yunohost ones to make ActiveSync working also on Yunohost. I already have red ears from my non-techie friends complaining. :-) sogo.conf
nginx template for sogo on main domain
nginx template for running sogo on subdomain
Hopefully this helps to let us move forward to a working ActiveSync config. |
I tried again, based on the iredmail settings to move things forward. But failed again, I am no dev, just tried hard. So as bad as it is to move partially away from Yunohost, my friends are getting really mad on me meanwhile, also telling me they told me that Open Source does not work before they moved to Yunohost. I think the solution will be to suggest them iredmail mail server to run their ActiveSync stuff. The need of 2 servers iredmail and Yunohost for e.g. Wordpress and other stuff, will probably finally getting them move back to some of their Cloud Mail providers, which is really bad and all the work done to make them move away from there looks lost :-(. If anybody want to recheck things, it would be greatly appreciated. |
May I bring this one up again. Sogo without ActiveSync is really a troblemaker which will make people complaining alot. If we do not get this working there should be a UPPER CASE warning on the module info for non techies to know that they will fail. |
Hello, I understand that this issue impact users but I don't have any application which use activesync so for me it's difficult to debug. But any help to understand the issue is really welcome. |
Looking your log it look like that the path |
Hello! Thank you for your answer. I am open to help you as much as I can that we are able to resolve the problem. But it would be pretty easy to test also for people like you and me, not using Outlook.
Feel free to tell me how I can help to resolve the problem. |
I am still looking for a solution, so I bring this one up again. |
I just was asked to help a friend with a new installed Yunohost/SOGo Server. It looks like the ActiveSync is still not working when SOGo is on Yunohost. Are there any news, this is really annoying for users and server operators. |
Hello, #35 might help to fix the issue. |
Hi,
Thanks a lot for this package which works fine !
I have a question about the active sync, i see on this topic on the yunohost forum that you had this function.
How it works and how could i sync my data with my phone or other ?
The url is https://domain.tld/Microsoft-Server-ActiveSync ?
Thanks for your answer.
Best regards
The text was updated successfully, but these errors were encountered: