[Dovecot] CONTEXT=SORT

Michael M Slusarz slusarz at curecanti.org
Sat May 3 05:51:50 UTC 2014


Quoting Michael M Slusarz <slusarz at curecanti.org>:

> 5 UID SORT RETURN (PARTIAL 1:10) (SUBJECT) UTF-8 UNDELETED
> * ESEARCH (TAG "5") UID PARTIAL (1:10 NIL)
> 5 OK Sort completed (0.000 secs).

Well duh.  Maybe I should actually look at the results.  This is  
obviously wrong (this mailbox has 13 undeleted messages, so NIL is not  
a proper return).

...although PARTIAL limiting for SEARCH doesn't work either:

4 UID SEARCH RETURN (PARTIAL 1:10) UNDELETED
* ESEARCH (TAG "4") UID PARTIAL (1:10 NIL)
4 OK Search completed (0.000 secs).

Undeleted messages do exist:

5 UID SEARCH UNDELETED
* SEARCH 58302 59466 61309 61311 62430 62431 62432 62450 62452 62454  
62456 62458
5 OK Search completed (0.000 secs).

so maybe there is a general issue with PARTIAL matching rather than a  
CONTEXT=SORT specific issue? (Running the Arch Linux Dovecot 2.2.12  
package right now so I'm not able to debug).

michael



More information about the dovecot mailing list