[Dovecot] SEARCH NOT not working
Julian Cowley
julian at lava.net
Sun Sep 23 11:14:39 EEST 2007
On Sat, 22 Sep 2007, Timo Sirainen wrote:
> On Fri, 2007-09-21 at 23:57 -1000, Julian Cowley wrote:
>> I think I've found the source of a bug which I first saw when running
>> dovecot and pine (or alpine), which I finally tracked down by doing a
>> protocol trace. In the IMAP session, the SEARCH command appears to have a
>> problem with sets of messages and/or the NOT operator.
>
> Thanks, fixed: http://hg.dovecot.org/dovecot-1.0/rev/d144e54f09e6
Thanks. That fixed all of the test cases I had, but now I've found
something new when using NOT on overlapping ranges:
a search 1:*
* SEARCH 1 2 3 4 5 6 7 8 9 10
a OK Search completed.
b search 1:7 4:10
* SEARCH 4 5 6 7
b OK Search completed.
c search not (1:7 4:10)
* SEARCH
c OK Search completed.
More information about the dovecot
mailing list