Email: IMAP sending from Drafts results in Problem with sync
I had not used saving to Drafts and sending very often. The mail server runs "Courier-IMAP".
Sequence to reproduce the problem:
- create a new mail
- save as draft
- reopen the saved draft mail
- send the mail
- update draft folder
After saving to drafts it is visible at the servers draft folder. I tested it using the web access of the IMAP server. Updating drafts folder on the phone results in no error.
After reopening the draft mail and sending it, it is still visible at the servers draft folder and not in the send folder. Updating drafts folder on the phone results now in "Problem with sync".
When updating results in "Problem with sync" I get with debug enabled the following log:
[22050] Oct 05 02:15:18 [Debug] Messaging : Running action RetrieveMessageListRequest 88776974008411
[22050] Oct 05 02:15:18 [Debug] Messaging : Setting imap strategy 31ImapRetrieveMessageListStrategy
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" SEND a005 SELECT INBOX.Drafts
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * 1 EXISTS
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * 0 RECENT
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * OK [UIDVALIDITY 1256374978] Ok
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * OK [MYRIGHTS "cdilrsw"] ACL
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: a005 OK [READ-WRITE] Ok
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" SEND a006 FETCH 1:* (FLAGS UID)
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * 1 FETCH (FLAGS (\Draft \Seen) UID 14)
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: a006 OK FETCH completed.
[22050] Oct 05 02:15:18 [Warning] WARNING server contains uids in contiguous region not on client!!! "14"
[22050] Oct 05 02:15:18 [Warning] WARNING clientMin 1 clientMax 14
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" SEND a007 UID FETCH 14 (FLAGS UID INTERNALDATE RFC822.SIZE BODYSTRUCTURE RFC822.HEADER)
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: * 1 FETCH (FLAGS (\Draft \Seen) UID 14 INTERNALDATE "05-Oct-2014 01:57:27 +0200" RFC822.SIZE 280 BODYSTRUCTURE ("text" "plain" ("charset" "utf-8") NIL NIL "base64" 54 1 NIL NIL NIL) RFC822.HEADER {226}
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: <226 literal bytes received>
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: )
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: a007 OK FETCH completed.
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" SEND a008 CLOSE
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: a008 OK mailbox closed.
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" SEND a009 UID FETCH 14 (FLAGS UID RFC822.SIZE BODY.PEEK[])
[22050] Oct 05 02:15:18 [Debug] IMAP : "1" RECV: a009 NO Error in IMAP command received by server.
[22050] Oct 05 02:15:18 [Debug] Messaging : Action completed 88776974008411 result failure
So I don't know if the mail has been send successfully and I can't solve the drafts "Problem with sync" situation on the phone itself.
If I remove the draft mail at the server than updating drafts folder on the phone results in no error.
Maybe this is the same bug as reported here.
This looks like a issue we fixed in update9, if problem persists after that I'll take a look.
VDVsx ( 2014-10-07 08:35:12 +0200 )edit