Bug 251090 - Fetch failed, server replied: A000373 BAD Error in IMAP command FETCH: Invalid messageset
Summary: Fetch failed, server replied: A000373 BAD Error in IMAP command FETCH: Invali...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 14:09 UTC by MartinG
Modified: 2010-10-05 20:31 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MartinG 2010-09-13 14:09:10 UTC
Version:           4.5 (using KDE 4.5.1) 
OS:                Linux

Upon creating a new IMAP resource in KMail, I get several of the following messages (where the A000xxx is changing): 

Fetch failed, server replied: A000373 BAD Error in IMAP command FETCH: Invalid messageset 


How do I debug this? Could this be related to subfolder subscriptions? What other log messages can I attach. I'd be happy to provide more info, and do more tests on this one, please let me know.

Reproducible: Always

Steps to Reproduce:
Add IMAP resource, sync.

Actual Results:  
A bunch of error messages, although the INBOX seems okay, and I am able to read email

Expected Results:  
No errors.

Fedora Rawhide.
akonadi-1.4.0-1.fc15.x86_64
kdepimlibs-akonadi-4.5.1-1.fc15.x86_64
Comment 1 Tomáš Linhart 2010-09-29 00:07:40 UTC
I have the same error here. It happens on my local IMAP server (dovecot) when I enter a folder with no messages in it (only with subfolders).
Comment 2 Torgny Nyblom 2010-09-29 09:34:26 UTC
This has been fixed in SVN, should be part of next release.

Error was that the IMAP resource tried to fetch the message set "1:*" but when no messages were present on the server at least dovecot treated this as an error. Now when the SELECT command returns no messages present no FETCH is performed.