Hello,

I use Roundcube as my main Webmail client and Dovecot as the underlying mail server.

Very often, users stumble across the error stated in the subject of this message:
 "Unable to send command: A0007 FETCH 1:* (UID BODY.PEEK[HEADER.FIELDS (FROM)])"".

After some research I have learned that this message itself is not where the problem lies, but it's the previous step, where it asks the imap server to sort the fetched headers by date:
 "A0006 UID SORT (DATE) US-ASCII ALL"

After some efforts I have learned that Roundcube takes the following steps when opening a given mailbox:


Regards,

Webert Lima
DevOps Engineer at MAV Tecnologia
Belo Horizonte - Brasil
IRC NICK - WebertRLZ