Topic: Can't connect via activeSync
==== Required information ====
- iRedMail version: 0.9.5-1
- Linux/BSD distribution name and version: debian 8
- Store mail accounts in which backend : MySQL
- Web server : Nginx
- Manage mail accounts with iRedAdmin-Pro: no
====
Hi,
I try to configure my Android 6.0.1 with a Microsoft Exchange ActiveSync account type, so
email : me@example.com
passwd: xxxx
Then try to connect, I get an authentification error from my device and from /var/log/sogo/sogo.log :
Jun 07 16:21:17 sogod [1570]: <0xfffffffffffffffffffffffff[SOGoDAVAuthenticator]> tried wrong password for user 'gilles.quenot'!
Jun 07 16:21:17 sogod [1570]: localhost.localdomain "OPTIONS /SOGo/Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=gilles.quenot&DeviceId=XXXX&DeviceType=SAMSUNGSMJ500FN HTTP/1.0" 401 12/0 0.004 - - 0
The password have been reset to ensure it the good one with :
doveadm pw -s 'ssha512' -p 'foobar'
then in MySQL :
use vmail;
UPDATE mailbox SET password=<doveadm output> WHERE username='gilles.quenot@example.com'
tested OK from https://example.com/sogo and it's the same I type in my Android device.
What's wrong ?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.