[Dovecot] IMAP Fetch fails with BAD instead of NO
Timo Sirainen
tss at iki.fi
Sun Sep 30 14:20:56 EEST 2007
On Thu, 2007-09-27 at 10:18 -0400, Reinier Bezuidenhout wrote:
> AXXX FETCH 14 (UID)
> AXXX BAD Error in IMAP command FETCH: Invalid messageset
This has been discussed in imap-protocol mailing list a few times, and
BAD is the correct reply here. For example UW-IMAP is the reference IMAP
server implementation and it gives:
x fetch 100 uid
x BAD Bogus sequence in FETCH: Sequence out of range
Looks like Cyrus replies with "NO" for some reason. I'd say it's a bug
in Cyrus instead.
Actually it's been said that FETCH should never return NO, and it was a
mistake to add that to the spec in the first place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070930/6b15f4ac/attachment.bin
More information about the dovecot
mailing list