Re: imap UID FETCH 1:* fails unless there is a message with UID 1

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Hi Ken,

> If you ask Squirrelmail to sort your mail file, it tries to get all the
> messages for sorting.  (It would also be happy to have the server do the
> sorting, but imap4d seems not to support the SORT command.)  It does it
> by giving the command "UID FETCH 1:*".

This command is erroneous per se.  The FETCH command takes two
arguments: sequence set and a list of message data item names or macro.
Try giving it the second argument and it will work. E.g.:

   UID FETCH 1:* all
   UID FETCH 1:* (bodystructure)
etc.

>  Then the above command fails with 
> "BAD UID FETCH Failed to parse message set".

I agree that the error message is misleading and should be fixed.

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.