imapc tries to fetch uid 0

Jeff Stedfast jeff at xamarin.com
Fri Feb 19 15:16:25 UTC 2016


Yes, this is a bug in imapc. A UID of 0 is not even allowed by the
standards. Nor does there appear to be anything in the logs that suggest
that Dovecot is telling imapc that a message with UID 0 exists.

Hope that helps,

Jeff

On Fri, Feb 19, 2016 at 10:12 AM, Nagy, Attila <bra at fsn.hu> wrote:

> Hi,
>
> This is a capture from an imapc client session (which is triggered by a
> message, received via LMTP):
> * OK [CAPABILITY IMAP4rev1 NAMESPACE] Ready
> 2 LOGIN "uid" "pass"
> 2 OK LOGIN succeeded
> 1 LIST "" ""
> * LIST (\Noselect) "/" ""
> 1 OK LIST completed
> 3 APPEND "INBOX" {568}
> + Ready for 568 octets of data
> [...]
> 3 OK APPEND complete
> 4 EXAMINE "INBOX"
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
> permitted.
> * 4 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1455885804]
> * OK [UIDNEXT 5]
> 4 OK [READ-ONLY] EXAMINE successful
> 5 UID FETCH 0 (RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Message-ID)])
> 5 BAD Illegal syntax: Bad message number 0
>
> Dovecot 2.2.21
>
> I don't see any problems with the conversation otherwise. Is it safe to
> assume this is a bug in imapc?
>


More information about the dovecot mailing list