Bug 263694

Summary: IMAP resource hangs when synchronizing at X-AKAPPEND
Product: [Frameworks and Libraries] Akonadi Reporter: Rolf Eike Beer <kde>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rolf Eike Beer 2011-01-19 23:02:01 UTC
Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

Every time the INBOX of one of my dIMAP accounts is synced everythings stops, leading to no further synchronizing of this account until akonadi restart. If a different folder is selected in KMail on startup I can sometimes get it to sync some of the other subfolders before INBOX is synced, but if INBOX is selected or it's just time for that the INBOX sync will start rendering the whole account more or less unusable.

Akonadiconsole shows as last commands:

455 OK Begin completed 
456 X-AKAPPEND 209 46775625 (\MimeType[message/rfc822] "\\RemoteId[93522]" $ATTACHMENT \SEEN) ("PLD:HEAD[1]":1254,"PLD:ENVELOPE[1]":324,"PLD:RFC822[1]":46143454) {46145032} 
+ Ready for literal data (expecting 46145032 bytes) 
456 NO Append failed

Which is always the same.

Reproducible: Always




Version is 1.4.95
Comment 1 Rolf Eike Beer 2011-05-01 19:17:57 UTC
These two lines have been in my ~/.config/akonadi/akonadiserverrc in [general]

SizeThreshold=4096
ExternalPayload=false

Volker advised me to remove them which solved the issue. So this boils down to detect that the mail is too large to be stored and giving the user a message on why this fails and how he could fix it.
Comment 2 Kevin Ottens 2011-09-17 16:57:39 UTC
Marking as fixed after consulting Volker.