[Bug 309226] New: Selecting an Exchange "Deleted Items" folder results in error
Thiago Macieira
thiago at kde.org
Mon Oct 29 22:55:16 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=309226
Bug ID: 309226
Severity: normal
Version: git
Priority: NOR
CC: kdepim-bugs at kde.org, vkrause at kde.org
Assignee: ervin at kde.org
Summary: Selecting an Exchange "Deleted Items" folder results
in error
Classification: Unclassified
OS: Linux
Reporter: thiago at kde.org
Hardware: Compiled Sources
Status: NEW
Component: IMAP resource
Product: Akonadi
Whenever I select the Deleted Items folder from my Exchange server, Akonadi
gets an unhandled error. This particular folder has auto-deletion enabled. When
I select this folder, the following happens:
a) the job tracker shows "Unable to fetch item from backend (collection 85,
resource -1)"
b) akonadiconsole or kmail prints that error:
akonadiconsole(63706)/libakonadi Akonadi::EntityTreeModelPrivate::fetchJobDone:
Job error: "Unable to fetch item from backend (collection 85, resource -1)"
for collection: 85
c) .xsession-error logs the following (I don't know which program is the
source; it's not the IMAP agent):
ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid
item retrieved</html>
ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid
item retrieved</html>
The IMAP conversation was:
C: A000004 SELECT "Deleted Items"
S: * 39 EXISTS
S: * 0 RECENT
S: * FLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Seen \Answered \Flagged \Deleted
\Draft $MDNSent ) ]
S: * OK Is the first unseen message [ UNSEEN 2 ]
S: * OK UIDVALIDITY value [ UIDVALIDITY 11585 ]
S: * OK The next unique identifier value [ UIDNEXT 3641 ]
S: A000004 OK SELECT completed. [ READ-WRITE ]
C: A000005 UID FETCH 3296 (BODY.PEEK[] UID)
S: A000005 OK FETCH completed.
Reproducible: Always
Steps to Reproduce:
1. Select "Deleted Items" folder
Actual Results:
Distraction icon spins forever. No email is displayed.
Expected Results:
Contents of folder should be displayed.
The Deleted Items folder in Exchange contains emails that have been deleted
from the server, but can be retrieved by undeleting. That is, it contains a
two-stage deletion process.
I believe Akonadi is choking on the deleted-but-undeletable emails. By issuing
IMAP commands directly to the Exchange server, I see:
1 UID FETCH 3296 (FULL)
* 21 FETCH (FLAGS (\Seen) INTERNALDATE "27-Sep-2012 02:20:15 -0700" RFC822.SIZE
4454 ENVELOPE (NIL "Retrieval using the IMAP4 protocol failed for the following
message: 3296" (("Microsoft Exchange Server 2010" NIL NIL
".MISSING-HOST-NAME.")) NIL NIL (("Macieira, Thiago" NIL "thiago.macieira"
"intel.com")) NIL NIL NIL NIL) BODY ("text" "plain" ("charset" "us-ascii") NIL
NIL "quoted-printable" 1 1) UID 3296)
1 OK FETCH completed.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list