[Dovecot] SEARCH NOT not working
Timo Sirainen
tss at iki.fi
Sun Sep 23 14:28:05 EEST 2007
On Sat, 2007-09-22 at 22:14 -1000, Julian Cowley wrote:
> 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:
Perhaps I should have just dropped the NOT optimizations, but instead I
added more..
http://hg.dovecot.org/dovecot-1.0/rev/fa89431f893e
http://hg.dovecot.org/dovecot-1.0/rev/92b2bd6b6c2d
http://hg.dovecot.org/dovecot-1.0/rev/678626efb942
I've tested this by having a perl script generate thousands of SEARCH
commands randomly and verifying that Dovecot's output matches UW-IMAP's
output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070923/d0137ec1/attachment.bin
More information about the dovecot
mailing list