ESEARCH is announced but it doesn't work
I am using Dovecot 2.3.4. I could upgrade if necessary.
I see this capabilities after login in:
""" a OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in """
ESEARCH (RFC 7377) seems to be available, but the command is not recognized:
""" tag1 ESEARCH IN (mailboxes "folder1" subtree "folder2") unseen tag1 BAD Error in IMAP command ESEARCH: Unknown command (0.001 + 0.000 secs). """
What am I doing wrong?
Thanks for your time and expertise.
-- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
On 27 Nov 2019, at 21:51, Jesus Cea jcea@jcea.es wrote:
tag1 ESEARCH IN (mailboxes "folder1" subtree "folder2") unseen tag1 BAD Error in IMAP command ESEARCH: Unknown command (0.001 + 0.000 secs).
This should answer your question, I think.
https://stackoverflow.com/questions/12683288/what-is-wrong-with-this-imap-es... The ESEARCH capability indicates that the server supports RFC 4731 and RFC4466 which defined the ESEARCH reponse and an extended format of the SEARCH command.
The MULTISEARCH capability (RFC 6237) builds upon the ESEARCH capability to make it possible to search in another mailbox than the currently selected one. The command syntax you're using requires MULTISEARCH.
-- Y is for YORRICK whose head was knocked in Z is for ZILLAH who drank too much gin
On 28/11/19 5:58, @lbutlr via dovecot wrote:
The MULTISEARCH capability (RFC 6237) builds upon the ESEARCH capability to make it possible to search in another mailbox than the currently selected one. The command syntax you're using requires MULTISEARCH.
Ah, understood. Sorry for wasting your time.
Thanks.
-- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
participants (2)
-
@lbutlr
-
Jesus Cea