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

Imap sync fails - no imap errors in log [answered]

asked 2015-01-01 18:17:45 +0300

Wacficdo gravatar image

Hi all,

I have never had imap mail sync working :(

Initial sync after account creation always works. After that it almost never works. Problem still persist in Vaarainjärvi (1.1.1.27).

Unlike others with similar problem I don't seem to get any IMAP errors - yet RetrieveMessageListRequest fails. In the log there is socketError from closing SSL -connection - could it be the culprit?

I've attached log output here for reference.

Dec 28 20:45:10 Jolla creen[1981]: [W] WebKitQmlExperimentalExtensionPlugin::registerTypes:52 - 
Dec 28 20:45:11 Jolla creen[1981]: [D] unknown:0 - Messaging :  opening database 
Dec 28 20:45:12 Jolla creen[1981]: [D] EmailAgent::onOnlineStateChanged:417 - void EmailAgent::onOnlineStateChanged(bool) Online State changed, device is now connected ?  true 
Dec 28 20:45:12 Jolla creen[1981]: [D] DeclarativeCoverWindow::DeclarativeCoverWindow:63 - DeclarativeCoverWindow: I have a default alpha buffer
Dec 28 20:45:26 Jolla creen[1981]: [D] EmailAgent::executeCurrent:1068 - Executing  "exporting-updates:account-id=14" 
Dec 28 20:45:26 Jolla creen[1981]: [D] EmailAgent::activityChanged:373 - Sync completed. 
Dec 28 20:45:26 Jolla creen[1981]: [D] EmailAgent::executeCurrent:1068 - Executing  "retrieve-message-list:account-id=14;folder-id=54" 
Dec 28 20:45:26 Jolla Msgsrv[970]: [Debug] Messaging :  Running action RetrieveMessageListRequest 8508330213378
Dec 28 20:45:26 Jolla Msgsrv[970]: [Debug] Messaging :  Setting imap strategy 31ImapRetrieveMessageListStrategy
Dec 28 20:45:26 Jolla Msgsrv[970]: [Debug] IMAP :  "1" About to open connection "XXXXX.XXXXX@XXXXX.XXX" "imap.XXXXX.XXX"
Dec 28 20:45:26 Jolla Msgsrv[970]: [Debug] Messaging :  QMailTransport::Socket::Socket SET PROXY host= "" port= 0
Dec 28 20:45:26 Jolla Msgsrv[970]: [Debug] Messaging :  Opening connection -  "imap.XXXXX.XXX" : 993  SSL
Dec 28 20:45:27 Jolla Msgsrv[970]: [Debug] Messaging :  IMAP : connection established
Dec 28 20:45:27 Jolla Msgsrv[970]: [Debug] Messaging :  IMAP : Secure connection established
Dec 28 20:45:27 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK IMAP4 ready
Dec 28 20:45:27 Jolla Msgsrv[970]: [Debug] IMAP :  "1" SEND a001 CAPABILITY
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * CAPABILITY IMAP4rev1 BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LITERAL+ MULTIAPPEND NAMESPACE QRESYNC QUOTA SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN X-DRAFT-I00-LIST-STATUS AUTH=PLAIN
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: a001 OK completed
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" SEND a002 LOGIN XXXXX.XXXXX@XXXXX.XXX <password hidden="">
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: a002 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN X-DRAFT-I00-LIST-STATUS] LOGIN completed
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" SEND a003 ENABLE QRESYNC CONDSTORE
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * ENABLED QRESYNC CONDSTORE
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: a003 OK ENABLE completed
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" SEND a004 SELECT INBOX (QRESYNC (1 34128 78771:79131))
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * 18 EXISTS
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * 0 RECENT
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK [UNSEEN 18] mailbox contains unseen messages
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK [UIDVALIDITY 1] UIDs are valid for this mailbox
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK [UIDNEXT 79622] next expected UID is 79622
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk Encrypted Attachments HtmlAttachments Zimbra TLSConnected noAttachments receipt-handled hasAttachments)
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded noAttachments receipt-handled hasAttachments \*)] junk-related flags are not permanent
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * OK [HIGHESTMODSEQ 34322] modseq tracked on this mailbox
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] IMAP :  "1" RECV: * BYE localhost IMAP4rev1 server terminating connection
Dec 28 20:45:28 Jolla Msgsrv[970]: [Warning] socketError: 1 : "The TLS/SSL connection has been closed"
Dec 28 20:45:28 Jolla Msgsrv[970]: [Debug] Messaging :  Action completed 8508330213378 result failure
Dec 28 20:45:28 Jolla creen[1981]: [D] EmailAgent::activityChanged:325 - Sync completed with Errors!!!. 
</password>
edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by VDVsx
close date 2015-06-08 14:47:19.281333

Comments

Probably same as https://together.jolla.com/question/71888/email-are-only-synced-initally-aftersward-fails-silently/ What provider are you using ?

VDVsx ( 2015-01-05 15:32:42 +0300 )edit

Thank You VDVsx for your comment. I had seen the thread you sent the link to (https://together.jolla.com/question/71888/email-are-only-synced-initally-aftersward-fails-silently/) but I think they differ. In my case I don't get any SQL errors. Additionally I get failure already for the RetrieveMessageListRequest call. In the other case (71888) RetrieveMessageListRequest is successful.

My service provider is hushmail.com.

Wacficdo ( 2015-01-05 23:32:24 +0300 )edit

@Wacficdo - Ok, then is a known issue, unfortunately I could not get hold of such account so far, will try to get someone to help debug this in the next weeks, see: https://together.jolla.com/question/24530/imap-inbox-updates-fail-after-successful-initial-setup-with-hushmail/

VDVsx ( 2015-01-06 13:26:38 +0300 )edit

That's my problem exactly :) Thanks VDVsx - I had missed that one.

I'm available to help - just need some pointers to really get some debugging done. The logs I sent are ok but there got to be some way to get even more detailed logging.

Wacficdo ( 2015-01-07 23:00:13 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-05-25 18:23:35 +0300

Wacficdo gravatar image

Problem solved. Mails started syncing last friday/saturday all by them selves :D

Apparently Hush.com did something and everything started working.

Jolla version is Äijänpäivänjärvi 1.1.4.29 but that's probably not important.

edit flag offensive delete publish link more

Question tools

Follow
3 followers

Stats

Asked: 2015-01-01 18:17:45 +0300

Seen: 503 times

Last updated: May 25 '15