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

Bug: E-mail update unreliable

asked 2014-01-03 16:26:08 +0200

onion gravatar image

updated 2014-01-07 09:16:45 +0200

eric gravatar image

E-mail updates and reading/downloads fails randomly and sometimes it works just fine.

I can see the imap login on my mail server, but after a while Mail app complains about Problem with sync. Pine, Evolution, Thunderbird, N9, Z10 have no issues with my server, Cyrus IMAP using SSL connection.

Is there some logging that I can check on the device to see what is going on ?

edit retag flag offensive close delete

Comments

I'd start with journalctl -fa from the terminal, you need dev mode though. I haven't experienced sync problems aside from the already reported unreliable sync schedule.

gabriel ( 2014-01-03 16:28:10 +0200 )edit

I have sometimes seen that "Problem with sync" message on mail app. Seems to me it is related to network issues.

TemeV ( 2014-01-03 23:30:38 +0200 )edit

I get problems with sync on my "job email account". Google-mail-imap works without problems.

No problems on other phones (mainly iPhones I used to have previously, 3GS and 4S)

Have tried SSL and TSL encryption options, both are very unreliable.

Can the problem be the size of the INBOX ?

Juuba ( 2014-01-05 23:25:50 +0200 )edit

OK, I cleared old emails from the INBOX, and now it seems to be more reliable..

Juuba ( 2014-01-08 14:43:55 +0200 )edit

Some large IMAP folders - e.g. my SailfishDevel folder - won't finish loading for me using Courier IMAP. It loads for a while, then stops with the error:

[20902] Jan 13 13:27:22 [Warning] Expired request: 77575699300356 
[20902] Jan 13 13:27:22 [Debug] Messaging :  Deregistering service: "imap4" for account: 2 
[20902] Jan 13 13:27:22 [Warning] Would not determine server/action completing 
[20902] Jan 13 13:27:22 [Debug] Messaging :  Deregistering service: "smtp" for account: 2 
[20902] Jan 13 13:27:22 [Warning] Would not determine server/action completing 
[20902] Jan 13 13:27:22 [Debug] identityimpl.cpp 103 updateState Updating state:  PendingRegistration 
[20902] Jan 13 13:27:22 [Debug] Messaging :  bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&, int) Creating SSO identity for the service  "imap4"  from account  2  using authentication method  "password" 
[20902] Jan 13 13:27:22 [Debug] authsessionimpl.cpp 174 initInterface 
[20902] Jan 13 13:27:22 [Debug] authsessionimpl.cpp 270 process sending to queue 
[20902] Jan 13 13:27:22 [Debug] IMAP :  void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id:  2 
[20902] Jan 13 13:27:22 [Debug] Messaging :  Registering service: "imap4" for account: 2 
[20902] Jan 13 13:27:22 [Debug] identityimpl.cpp 103 updateState Updating state:  PendingRegistration 
[20902] Jan 13 13:27:22 [Debug] Messaging :  bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&, int) Creating SSO identity for the service  "smtp"  from account  2  using authentication method  "password" 
[20902] Jan 13 13:27:22 [Debug] authsessionimpl.cpp 174 initInterface 
[20902] Jan 13 13:27:22 [Debug] authsessionimpl.cpp 270 process sending to queue 
[20902] Jan 13 13:27:22 [Debug] SMTP :  void SmtpClient::setAccount(const QMailAccountId&) SSO identity is found for account id:  2 
[20902] Jan 13 13:27:22 [Debug] Messaging :  Registering service: "smtp" for account: 2 
[20902] Jan 13 13:27:22 [Debug] void RunningAction::statusAccountIdChanged(const QMailAccountId&) Account  0  was removed/disabled while action was in progress, no actions to report for invalid account. 
[20902] Jan 13 13:27:23 [Debug] identityimpl.cpp 103 updateState Updating state:  Ready 
[20902] Jan 13 13:27:23 [Debug] dbusoperationqueuehandler.cpp 135 execQueuedOperations Executing cached oparation: SIGNATURE: "process(SessionData,QString)" 
[20902] Jan 13 13:27:23 [Debug] dbusoperationqueuehandler.cpp 147 execQueuedOperations 
[20902] Jan 13 13:27:23 [Debug] authsessionimpl.cpp 265 process sending to daemon 
[20902] Jan 13 13:27:23 [Debug] identityimpl.cpp 103 updateState Updating state:  Ready 
[20902] Jan 13 13:27:23 [Debug] dbusoperationqueuehandler.cpp 135 execQueuedOperations Executing cached oparation: SIGNATURE: "process(SessionData,QString)" 
[20902] Jan 13 13:27:23 [Debug] dbusoperationqueuehandler.cpp 147 execQueuedOperations 
[20902] Jan 13 13:27:23 [Debug] authsessionimpl.cpp 265 process sending to daemon 
[20902] Jan 13 13:27:23 [Debug] IMAP :  Got SSO response 
[20902] Jan 13 13:27:23 [Debug] SMTP :  Got SSO response 
[20902] Jan 13 13:27:54 [Debug] identityimpl.cpp 103 updateState Updating state:  NeedsRegistration 
[20902] Jan 13 13:27:54 [Debug] identityimpl.cpp 103 updateState Updating state:  NeedsRegistration

In ~/.config/QtProject/Messageserver.conf I've set

[StdStreamLog]
Enabled=1

and ran pkill messageserver5; /usr/bin/messageserver5

Tanghus ( 2014-01-13 14:37:03 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2014-01-12 15:33:52 +0200

fl gravatar image

not actually loggin, but I am pretty sure this serves the same purpose: https://together.jolla.com/question/4336/email-cannot-log-in-to-macos-imap-server/

edit flag offensive delete publish link more
0

answered 2014-06-16 23:27:26 +0200

utkiek gravatar image

The release notes to 1.0.7.16 Saapunki says: "Fixes an issue that prevents sync from finish when fetching large amount of data over IMAP4 protocol", but for me the sync problem is still living.

After a time not online I restart WLAN. Then I started the mail client and started a manually update. The update stops with (in german) "Synchronisation fehlgeschlagen" = sync error. The next manually update is fast and ok.

The automatic syncs works fine. Of course my mailbox has many folders with many mails.

edit flag offensive delete publish link more

Comments

@utkiek - Can you get logs for that ?

in

/home/nemo/.config/QtProject/Messageserver.conf

enable file log and add a path for the log, like for example:

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

Reboot the device and reproduce the problem, send me the log file to mail-logs at jolla dot com. After that turn file log off again by setting "enabled" to 0.Thanks a lot!

VDVsx ( 2014-07-15 16:16:31 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2014-01-03 16:26:08 +0200

Seen: 494 times

Last updated: Jun 16 '14