1

Topic: activesync issues

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version:  1.6.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer?: installer
- Linux/BSD distribution name and version:  Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello.
Im trying to make activesync working with IOS device. I have passed over DNS records, autodiscover settings, but when I add exchange account on IOS device, i can see in logs for example:

0x0x55e968657900[SOGoDAVAuthenticator]> tried wrong password for user 'adam'!

How do i force client to use full email  (adam@domain.com) as login instead of just username (adam) ?
Should this be provided somwhere on autodiscover parameters ?

----

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

2

Re: activesync issues

saddamus wrote:

How do i force client to use full email  (adam@domain.com) as login instead of just username (adam) ?

You have to ask clients to use full email address as login name.

3

Re: activesync issues

But i use autodiscover. Client just puts his email address, then its prompted for password and nothing else to be done on client side. Is there any way to provision this requirement to the client ?

ZhangHuangbin wrote:
saddamus wrote:

How do i force client to use full email  (adam@domain.com) as login instead of just username (adam) ?

You have to ask clients to use full email address as login name.

4

Re: activesync issues

To be honest, im not sure where is the issue.
If i test my exchange with microsoft connectivity analyzer, everything goes fine until it hits
my server /Microsoft-Server-ActiveSync
After that, the tool gets the following response:
A 401 error was received from the server, but no authentication methods are supported.
Sogo log is just like
localhost "OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.0" 401 12/0 0.003 - - 0 - 15
Nothing else. In the end, activesync doesnt work at all on my server and i dont even know where to go next to have it solved.

saddamus wrote:

But i use autodiscover. Client just puts his email address, then its prompted for password and nothing else to be done on client side. Is there any way to provision this requirement to the client ?

ZhangHuangbin wrote:
saddamus wrote:

How do i force client to use full email  (adam@domain.com) as login instead of just username (adam) ?

You have to ask clients to use full email address as login name.

5

Re: activesync issues

saddamus wrote:

But i use autodiscover. Client just puts his email address, then its prompted for password and nothing else to be done on client side. Is there any way to provision this requirement to the client ?

Client must input full email address as login username. According to pasted log, client inputed just username part of email address as login username. There's no way to force client to input full email address.

6

Re: activesync issues

Cool, but even if i disable autodiscover and go all manual way, it does not work.
IOS client says: Unable to verify exchange account, sogo log display Options method with response 200, no way to obtain information what goes wrong, neither from client, nor server side.
Any idea how to find the reason ?

ZhangHuangbin wrote:
saddamus wrote:

But i use autodiscover. Client just puts his email address, then its prompted for password and nothing else to be done on client side. Is there any way to provision this requirement to the client ?

Client must input full email address as login username. According to pasted log, client inputed just username part of email address as login username. There's no way to force client to input full email address.

7

Re: activesync issues

saddamus wrote:

Cool, but even if i disable autodiscover and go all manual way, it does not work.
IOS client says: Unable to verify exchange account, sogo log display Options method with response 200, no way to obtain information what goes wrong, neither from client, nor server side.
Any idea how to find the reason ?

ZhangHuangbin wrote:
saddamus wrote:

But i use autodiscover. Client just puts his email address, then its prompted for password and nothing else to be done on client side. Is there any way to provision this requirement to the client ?

Client must input full email address as login username. According to pasted log, client inputed just username part of email address as login username. There's no way to force client to input full email address.

Are you adding Exchange or Outlook.com ? I am using various iOS and Android devices with Sogo and works fine, I did have to modify sogo.conf and change PREFORD Workers.