We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

[BUG] Exchange email sync and notification problems (2.0.2.51)

asked 2016-09-22 12:38:07 +0200

mousse04 gravatar image

updated 2016-09-22 12:40:59 +0200

Hi all,

on my intex with latest SailfishOS (2.0.2.51), I have 2 emails account : Google one and an Exchange one. My google account works perfectly fine. On my exchange account, I've 2 problem which can be related.

  • First problem, When I receive an email on that exchange account, I have the logo of Exchange showing up, to notify me that new emails have been received, but in the email app, it says that I don't have new emails. The only way, too see that new emails arrived, when opening up the email app, is because I can see a number next to the account name. Please look at my screenshots to understand. On the one called Cover, you can see that the Exchange icon is here, but on the Within_Email_App screenshot, it says (in french) there is no new emails, whereas I can see the number 1 close to Mentor account. image description

image description

  • Second problem. When syncing my email, I've always the message, on the cover of the email app, that there was a problem of sync. What is strange is that my exchange account seems to be sync as expected, but I still get this message. Attached is a log file got when running journalctl -f and syncing my accounts wifi.txt

What I can say is that when removing my Exchange account and setting up again, I don't have the sync problem anymore ... till a new emails is received

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2016-09-23 08:53:19 +0200

gfwp gravatar image

I have Jolla 1 and jolla C with the same exchange provider. With Jolla 1 everthings works cleanly, with Jolla C it is impposible to download attachments, becoming all the time empty documents. For this reason I keep Talojärvi on my Jolla 1.

Regards

P.S:Not having a full exchange support turns a cell phone into a brick (like with the concurrent linux (desktop) based phone product that I also own).

edit flag offensive delete publish link more

Comments

I couldn't reproduce this issue with our Exchange server, perhaps there is some provisioning setting which changes the way attachments are handled, which is causing the issue in your case. Can you get us some detailed logs to help us track down the cause of this issue for you?

1) edit /home/nemo/.config/eas-sailfish.conf so that it contains:

 [logging]
 Sailfish.eas.debug=dwc
 Sailfish.eas.warning=dwc
 Sailfish.eas.error=dwc
 Sailfish.easwbxml=dwc
 Sailfish.easnetwork=dwc
 Sailfish.easverbose=dwc

2) edit /home/nemo/.config/QtProject/Messageserver.conf so that it contains:

 [FileLog]
 Enabled=1
 Path=/home/nemo/qmf.log

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

 [StdStreamLog]
 Enabled=0

 [Syslog]
 Enabled=0

3) reboot your device

4) ssh into your device and begin collecting logs from the Exchange ActiveSync plugin via devel-su journalctl -af | grep EAS

5) leave that running, and ssh into your device with another terminal, and run the email application via devel-su -p jolla-email

6) open the email, click on the attachment to download it, wait until its fully downloaded.

You should see something like the following output in the devel-su -p jolla-email terminal:

 [D] EmailAgent::executeCurrent:1139 - Executing  "retrieve-message-part:partLocation-id=29-2" 
 [D] EmailAgent::processNextAction:1185 - Sync completed.

Is that the case, or do you see something different?

You should also see a variety of information in the journal from EAS and also the file /home/nemo/qmf.log will also contain useful information.

If you can send those logs to chris dot adams at jolla dot com I can investigate further.

Thanks!

chris.adams ( 2016-09-26 10:08:42 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2016-09-22 12:38:07 +0200

Seen: 318 times

Last updated: Sep 23 '16