1

Topic: iRedMail/SOGo Outlook configuration

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

Hello,

I can't get Outlook to connect to my mail server:

-I followed the guide on how to connect iRedMail to Outlook: http://www.iredmail.org/docs/activesync.outlook.html

-I also have editted my Apache SOGo.conf file to:
ProxyPass /Microsoft-Server-ActiveSync \
http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
retry=60 connectiontimeout=5 timeout=3600

-I enabled EAS logging, and everytime I try to add the account in outlook, I get server could not be found error, however on the server, sogo.log:
Oct 28 12:04:39 sogod [17634]: <client IP address> "OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 200 0/0 0.005 - - 116K
So the server sees the request.

Any ideas are appreciated.

----

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

2

Re: iRedMail/SOGo Outlook configuration

sameh.onaissi wrote:

I get server could not be found error

*) What's the original error message in Outlook?
*) Did you see any log related to this Outlook client in Apache log file?

3

Re: iRedMail/SOGo Outlook configuration

ZhangHuangbin wrote:
sameh.onaissi wrote:

I get server could not be found error

*) What's the original error message in Outlook?
*) Did you see any log related to this Outlook client in Apache log file?

The outlook error message says:
Log onto Exchange ActiveSync mail server (EAS): The server cannot be found

Apache's access.log shows:

<client IP address> - - [31/Oct/2016:10:31:54 -0500] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 450 "-" "Microsoft.Outlook.15"

hardly any different from that of the sogo log.

4

Re: iRedMail/SOGo Outlook configuration

Which Outlook version are you running? Outlook 2013/2016 should be fine, but old versions may not work.

5 (edited by sameh.onaissi 2016-11-01 22:46:45)

Re: iRedMail/SOGo Outlook configuration

ZhangHuangbin wrote:

Which Outlook version are you running? Outlook 2013/2016 should be fine, but old versions may not work.


It is Office Professional 2013. The UI is just like what is in the guide.

Are there any other logs I can look into to solve this?

I should add that I can't connect through an ipad mail client either. I get the error: Unable to verify account information.

6

Re: iRedMail/SOGo Outlook configuration

*) Did Outlook, iPad mail client prompt you to access an untrusted SSL cert?
*) Please turn on debug option "SOGoEASDebugEnabled = YES;" in /etc/sogo/sogo.conf, restart sogo service. Any error/warn in SOGo log file? If no error/warn, i'm afraid that you have to ask support in SOGo mailing list instead:
https://sogo.nu/support/index_new.html#/community

7 (edited by sameh.onaissi 2016-11-02 23:14:32)

Re: iRedMail/SOGo Outlook configuration

ZhangHuangbin wrote:

*) Did Outlook, iPad mail client prompt you to access an untrusted SSL cert?
*) Please turn on debug option "SOGoEASDebugEnabled = YES;" in /etc/sogo/sogo.conf, restart sogo service. Any error/warn in SOGo log file? If no error/warn, i'm afraid that you have to ask support in SOGo mailing list instead:
https://sogo.nu/support/index_new.html#/community


Yes, it does ask, and I choose to continue.

EDIT: I have tried to reproduce the scenario where it asks for the untrusted ssl cert, but no luck. I tried deleting certs cache and nothing. Outlook just throws that error without the cert prompt.

Is there a way to verify the server before hand?

The debug option has been on, and it shows nothing more in logs than what I posted in prev posts.

8

Re: iRedMail/SOGo Outlook configuration

No idea yet. I suggest you ask for support in SOGo mailing list instead:
https://sogo.nu/support/index_new.html#/community

9

Re: iRedMail/SOGo Outlook configuration

Thank you.

Web posting is disallowed there.

I think my issue with the certificate. Since I tried following SOGo's guide to set up outlook, and I get a certificate error message. I do not know much about mail server certificates, so I just want to ask:

My mail server has its own generated certificate from the iredmail installation and signed by its own domain name. Shouldn't that certificate be installed on the client side in order to be able to use outlook? If so, how can I do that?

I would appreciate any information about that.

Is there a way to set up outlook with iredmail using POP3/IMAP/SMTP? or does it have to be Exchange/ActiveSync?

10

Re: iRedMail/SOGo Outlook configuration

self-signed SSL cert is not trusted by any web browser or MUA. You must get a valid one: either buy one from trusted ssl vendor, or request free one from Lets Encrypt. We have a tutorial for you if you got a valid cert:
http://www.iredmail.org/docs/use.a.boug … icate.html

sameh.onaissi wrote:

Is there a way to set up outlook with iredmail using POP3/IMAP/SMTP? or does it have to be Exchange/ActiveSync?

It's ok to use just POP3/IMAP/SMTP. ActiveSync is not required.

11

Re: iRedMail/SOGo Outlook configuration

Thank you Mr. Zhang. You have been more than helpful.

I got things working with POP3 and SMTP for now. I will install another instance on a testing machine and keep trying to solve the cert problem I am having.

Much appreciated, and again, thank you.