6.0.0-beta1
7/5/25

[#12027] Invalid argument on INBOX-Folder
Summary Invalid argument on INBOX-Folder
Queue IMP
Queue Version 6.0.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester jan.stutzki (at) sin-systems (dot) de
Created 02/07/2013 (4531 days ago)
Due
Updated 02/07/2013 (4531 days ago)
Assigned 02/07/2013 (4531 days ago)
Resolved 02/07/2013 (4531 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/07/2013 09:05:21 PM Michael Slusarz State ⇒ Not A Bug
 
02/07/2013 09:01:59 PM jan (dot) stutzki (at) sin-systems (dot) de Comment #3 Reply to this comment
The ticket can be closed. It was actually a bug in courier-imap. The 
affected version is 4.9.1 (currently in Ubuntu 12.04 LTS) and the bug 
is a wrong interpretation of 8Bit header content (see 
https://answers.launchpad.net/ubuntu/+source/courier/+question/203082)

As a recommended solution a down- or upgrade of courier-imap is suggested.
02/07/2013 06:34:34 PM Michael Slusarz Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
Your server looks hosed.  It is throwing an error on this command:

C: 8 UID FETCH 2:92 (ENVELOPE FLAGS RFC822.SIZE 
BODY.PEEK[HEADER.FIELDS (IMPORTANCE LIST-POST X-PRIORITY)])
S: * BYE [ALERT] Fatal error: Invalid argument

That's a basic FETCH command that any IMAP server must support (and 
can't be worked around).  E.g., using Dovecot 2.1:

8 UID FETCH 2:92 (ENVELOPE FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(IMPORTANCE LIST-POST X-PRIORITY)])
8 OK Fetch completed.

Have you tried upgrading your IMAP server?
02/07/2013 06:27:56 PM jan (dot) stutzki (at) sin-systems (dot) de Comment #1
Priority ⇒ 2. Medium
New Attachment: imap.log Download
Patch ⇒ No
Milestone ⇒
Summary ⇒ Invalid argument on INBOX-Folder
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ IMP
Reply to this comment
When accessing the inbox-folder the content is not shown. The correct 
number of read and unread mails is shown.
The IMAP-commands (attached) inserted on command line don't result in 
an invalid-argument error.
Squirrelmail and Thunderbird are working correctly.
PEAR is up to date. PHP-Version in use is PHP Version 5.3.10-1ubuntu3.5.

The error is also occuring with older versions of imp so it might be a 
problem with the underlying PEAR or PHP-libraries.

Saved Queries