Exchange Account logging for connectivity errors
Hi,
Since i'm trying to add Exchange account and it is not going past Phase 2 (server address etc.) asking me to check credentials (which are correct since android mail apps is working). I want to enable activesync logging. Browsing through different exchange related questions here, i saw that logging is eabled through /home/nemo/.config/Nokia/activesync.conf file.
But i don't have activesync.conf file there. I made it manually, enabled logging, restarted the device but still there's no log file being made.
Microsoft Outlook and Aqua Mail (android apps) is working fine with exchange address webmail.domainname.com but Sailfish OS's native client is not.
Can any one assist me in at least getting me log file started so that i know why Sailfish OS native exchange client is not working.
Regards, Hassan Khalil (Device: Intex Aqua Fish)
Hi Hassan, the config file you mentioned is for the "old" EAS plugin, which was included on Jolla1 device, but the Jolla Tablet, JollaC and Intex Aqua Fish device use the "new" EAS plugin whose config file is located at /home/nemo/.config/eas-sailfish.conf
To enable more logging, ensure that it contains:
chris.adams ( 2016-09-19 05:59:01 +0200 )editThanks Chris, for taking time to assist me.
My device doesn't even have eas-sailfish.conf file.
Would it work if i make it manually? If it would then kindly share the contents of the file.
hassankhalil ( 2016-09-19 12:16:20 +0200 )editI have similar problem. No problem at authentication. But in the final stage it says "Cannot add account" without stating a reason. I am trying to enable logging to see why. Chris, i can see the eas-sailfish.conf file and have made the changes (I trust the last three options have a dot intentionally skipped.. (easwbxml, easnetwork and easverbose) Where should the logs be generated? journalctl gives nothing. BTW i did take the phone through a reboot cycle.
njathan ( 2016-09-19 12:51:04 +0200 )editnjathan,
Can you share the full path to eas-sailfish.conf file here? as well as its contents and file's ownership and persmissions.
hassankhalil ( 2016-09-20 09:22:17 +0200 )edit@njathan yes, intentional. I'm surprised that journalctl contains nothing - I usually do
devel-su journalctl -af | grep EAS
to grab logs from the sailfish-eas daemon, since it prefixes log lines with [EAS].@hassankhalil the sailfish-eas daemon should create that config file on first start, I believe. You can force creation by doing:
devel-su -p sailfish-eas
- note that the daemon will quickly exit once it detects that no Exchange accounts exist on the device, but at least the config file will be created.On a related note, to get information about email sync, you need to enable various categories in the Messageserver / QMF config:
chris.adams ( 2016-09-21 04:17:45 +0200 )edit