Imap sync fails - no imap errors in log [answered]
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>
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 +0200 )editThank 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 +0200 )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 +0200 )editThat'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 +0200 )edit