Here is my settings. -------------
Desktop, open Outlook2016, New account, --->manual setup or addtional server types --->Outlook.com or Exchange ActiveSync compatible service. # user information Your Name: hongquan Email Address: [email protected] # server information mail Server: mail.ad.pthl.hk # logon information Username: hongquan Password: <xxxxx> # sogo.log Apr 09 09:47:10 sogod [5853]: 172.16.234.223 "OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 200 0/0 0.007 - - 32K Seeing from above log, authentication is OK. Test account settings takes a while and raises an error that "Log onto Exchange ActiveSync mail server(EAS): the server cannot be found" --- IMAP seting is fine and I can receive and send email ------ I visit http://mail.ad.pthl.hk//Microsoft-Server-ActiveSync is a bland page and access log is 200, so I assume ActiveSync is correct. What's wrong ? Thanks. On Mon, Apr 8, 2019 at 5:37 PM luckydog xf <[email protected]> wrote: > Here is logs: > > > Apr 08 17:25:18 sogod [16322]: |SOGo| starting method 'OPTIONS' on uri > '/SOGo/Microsoft-Server-ActiveSync' > Apr 08 17:25:18 sogod [16322]: |SOGo| request took 0.001262 seconds to > execute > Apr 08 17:25:18 sogod [16322]: 172.16.234.223 "OPTIONS > /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 200 0/0 0.002 - - 0 > Apr 08 17:26:36 sogod [16322]: |SOGo| starting method 'OPTIONS' on uri > '/SOGo/Microsoft-Server-ActiveSync' > Apr 08 17:26:36 sogod [16322]: |SOGo| request took 0.001592 seconds to > execute > Apr 08 17:26:36 sogod [16322]: 172.16.234.223 "OPTIONS > /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 200 0/0 0.003 - - 0 > Apr 08 17:27:40 sogod [16322]: |SOGo| starting method 'OPTIONS' on uri > '/SOGo/Microsoft-Server-ActiveSync' > Apr 08 17:27:40 sogod [16322]: |SOGo| request took 0.000844 seconds to > execute > Apr 08 17:27:40 sogod [16322]: 172.16.234.223 "OPTIONS > /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 200 0/0 0.001 - - 0 > > Anything wrong? > > > On Mon, Apr 8, 2019 at 3:15 PM luckydog xf <[email protected]> wrote: > >> LoginFieldNames = (c_uid, mail); >> >> Add this optionals, so that either hongquan or [email protected] >> works. But http access log is >> 172.16.81.56 - - [08/Apr/2019:14:14:47 +0800] "OPTIONS >> /Microsoft-Server-ActiveSync HTTP/1.1" 200 - "-" "Android/5.1-EAS-1.3" >> while it's probably due to App version, it still cannot sync email.etc. >> >> On Mon, Apr 8, 2019 at 12:49 PM luckydog xf <[email protected]> wrote: >> >>> # logs >>> >>> Apr 08 12:30:52 sogod [15247]: |SOGo| starting method 'OPTIONS' on uri >>> '/SOGo/Microsoft-Server-ActiveSync' >>> 2019-04-08 12:30:52.697 sogod[15247:15247] >>> <MySQL4Channel[0x0x557eeed170f0] connection=0x0x557eeee23bc8> SQL: *SELECT >>> c_password FROM view WHERE c_uid = 'hongquan';* >>> 2019-04-08 12:30:52.698 sogod[15247:15247] >>> <MySQL4Channel[0x0x557eeed170f0] connection=0x0x557eeee23bc8> query has >>> results, entering fetch-mode. >>> Apr 08 12:30:52 sogod [15247]: <0x0x557eeeafec40[SOGoDAVAuthenticator]> >>> tried wrong password for user 'hongquan'! >>> Apr 08 12:30:52 sogod [15247]: |SOGo| request took 0.001318 seconds to >>> execute >>> >>> # exchange client setup >>> email addr: [email protected] >>> username: [email protected] ### I check that sogo reads account name >>> specified here ### >>> domain name: ad.pthl.hk >>> password: XXXX >>> server: mail.ad.pthl.hk >>> ...... >>> >>> Actually in MariadDB c_uid is *[email protected] >>> <[email protected]>*, NOT hongquan. But EAS use hongquan as query >>> string of SQL statement. >>> >>> Anything I can do to get rid of this ? Thanks. >>> >>> >>> >>> -- [email protected] https://inverse.ca/sogo/lists
