Exchange Account logging for connectivity errors

asked 2016-09-16 13:37:55 +0200

hassankhalil gravatar image

updated 2016-09-27 14:59:11 +0200

jiit gravatar image

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)

edit retag flag offensive close delete

Comments

1

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:

 Sailfish.eas.debug=dwc
 Sailfish.eas.warning=dwc
 Sailfish.eas.error=dwc
 Sailfish.easwbxml=dwc
 Sailfish.easnetwork=dwc
 Sailfish.easverbose=dwc
chris.adams ( 2016-09-19 05:59:01 +0200 )edit

Thanks Chris, for taking time to assist me.

My device doesn't even have eas-sailfish.conf file.

[nemo@Sailfish .config]$ date
Mon Sep 19 14:05:32 PKT 2016
[nemo@Sailfish .config]$ pwd
/home/nemo/.config
[nemo@Sailfish .config]$ find /home/nemo -name eas-sailfish*
find: /home/nemo/.config/signond: Permission denied
find: /home/nemo/.cache/msyncd: Permission denied
find: /home/nemo/.local/share/system/privileged: Permission denied
[nemo@Sailfish .config]$ find /home/nemo -name eas*
find: /home/nemo/.config/signond: Permission denied
find: /home/nemo/.cache/msyncd: Permission denied
find: /home/nemo/.local/share/system/privileged: Permission denied
[nemo@Sailfish .config]$

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 )edit

I 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 )edit

njathan,

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
1

@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:

 [nemo@Sailfish .config]$ cat /home/nemo/.config/QtProject/Messageserver.conf 
 [FileLog]
 Enabled=1
 Path=/home/nemo/qmf.log

 [LogCategories]
 IMAP=1
 Messaging=1
 POP=1
 SMTP=1

 [StdStreamLog]
 Enabled=0

 [Syslog]
 Enabled=0
chris.adams ( 2016-09-21 04:17:45 +0200 )edit