bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Sergey Poznyakoff
Subject: Re: imap UID FETCH 1:* fails unless there is a message with UID 1
Date: Sun, 19 Apr 2020 10:01:40 +0300

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]