ESEARCH is announced but it doesn't work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ESEARCH is announced but it doesn't work

Dovecot mailing list
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                         _/_/      _/_/_/        _/_/_/
[hidden email] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[hidden email]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ESEARCH is announced but it doesn't work

Dovecot mailing list
On 27 Nov 2019, at 21:51, Jesus Cea <[hidden email]> 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-esearch-command-syntax>
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

Reply | Threaded
Open this post in threaded view
|

Re: ESEARCH is announced but it doesn't work

Dovecot mailing list
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                         _/_/      _/_/_/        _/_/_/
[hidden email] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[hidden email]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz


signature.asc (499 bytes) Download Attachment