1 (edited by zuotoski 2016-06-24 02:09:38)

Topic: Microsoft ActiveSync - where to find it?

======== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Windows 2003 Active Directory
- Web server (Apache or Nginx): Apache/2.4.7 (Ubuntu)
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: as follows...
====

Hello!
   I am trying to setup my Outlook (2013 and 2016) to use Microsoft ActiveSync, following this tutorial: http://www.iredmail.org/docs/activesync.outlook.html but it always returns this error message: "Logon at EAS (Exchange ActiveSync) server: server not found".

   This is the infomation that I've inserted in Outlook setup page:

Name: My full name
E-mail Address: me@mydomain (it means my e-mail address)
Mail server: iredmail-server.mydomain (ping returns the ip address, so there is no dns problem / but, I also tried to insert the IP address instead, resulting in the same error)
User Name: me@mydomain
Password: my-email-password

I am using Active Directory integration, it works perfectly in Roundcube and SOGo web interfaces. I also tried to test in Outlook using POP/SMTP and it worked.

Looking at my /usr/lib/GNUstep/SOGo there is no "Microsoft-Server-ActiveSync" folder (or is this how it suppose to be, no "Microsoft-Server-ActiveSync" folder at all?)

Is there anything else that have to be done prior to the tutorial to enable MS ActiveSync?

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by zuotoski 2016-06-24 18:18:55)

Re: Microsoft ActiveSync - where to find it?

Again... I've found the answer myself big_smile

This document had some clues: https://sogo.nu/files/docs/SOGo%20Insta … 0Guide.pdf

The only thing that I had to do was this:

Uncomment these lines from SOGo Apache configuration:

ProxyPass /Microsoft-Server-ActiveSync \
 http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
 retry=60 connectiontimeout=5 timeout=360

Restart Apache2 and Bam!!!... or almost! I also had to change the username to "user" instead of "user@domain" to authenticate.

Now I'm happy smile

3

Re: Microsoft ActiveSync - where to find it?

Do you use https or http?

4 (edited by zuotoski 2016-06-24 18:17:41)

Re: Microsoft ActiveSync - where to find it?

ZhangHuangbin wrote:

Do you use https or http?

Both - I see why you're asking. It should be in the documentation, that way it would save much time. Don't get me wrong, docs are fine, it's just that as it happened to me, it may happen to someone else.

5

Re: Microsoft ActiveSync - where to find it?

Your reply is not clear to me. Did you solve this issue? How? and what's the root cause?
If not solved yet, what's current issue?

6 (edited by zuotoski 2016-06-27 19:07:27)

Re: Microsoft ActiveSync - where to find it?

ZhangHuangbin wrote:

Your reply is not clear to me. Did you solve this issue? How? and what's the root cause?
If not solved yet, what's current issue?

Well, if my reply is not clear for you, I'll try to answer in a different way:

1) Yes, I use https and http. So, the uncommented lines could be:

For HTTP:

ProxyPass /Microsoft-Server-ActiveSync \
 http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
 retry=60 connectiontimeout=5 timeout=360

For HTTPS:

ProxyPass /Microsoft-Server-ActiveSync \
 https://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
 retry=60 connectiontimeout=5 timeout=360

2) Yes, I've solved the problem.

3) The root of the problem is that I couldn't make Active Sync to work following your tutorial, something was missing. So, I've  searched for an answer, and discovered that AtiveSync is not enabled by default in iRedMail setup. As I followed your tutorial, it didn't mention that it must be manually enabled and how to do it (or at least where are the documentation explaining how to enable it). The iRedMail tutorials are great, but in this case in special, I missed this information and it took me a while to figure out and to find how to make it work (an entire day, to be honest).

So, this topic is to help anyone who may be experiencing the same as I did, with the problem and the solution.

Regards.

7

Re: Microsoft ActiveSync - where to find it?

Did you install SOGo manually or it's done by iRedMail?
ActiveSync is enabled by iRedMail by default -- if you chose to install SOGo during iRedMail installation.

8

Re: Microsoft ActiveSync - where to find it?

ZhangHuangbin wrote:

Did you install SOGo manually or it's done by iRedMail?
ActiveSync is enabled by iRedMail by default -- if you chose to install SOGo during iRedMail installation.

I've installed iRedMail package with Sogo.