Description of problem:
When doing a body search in squirelmail (dovecot backend)
Request : FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)])
Server replied : Error in IMAP command UID FETCH: Invalid arguments.
thanks for your bug report, is this "after update" problem? Did it work with old version or this is first version, when you tried squirrelmail?
This setup has been working for a few years with SM talking to a local dovecot, both regularly updated to rawhide versions (however I do not search very often in the webmail, so I may have missed the exact breakage point)
fixed in squirrelmail-1.4.20-0.rc2.20090917.fc12