Spaces and IMAP searching with Cyrus

Rob Siemborski rjs3 at
Fri May 28 14:29:24 EDT 2004

On Fri, 28 May 2004, Ted Cabeen wrote:

> A number of my users have been reporting problems with searching.  It
> seems like the Cyrus server is totally ignoring whitespace when
> performing searches.  This behavior causes quite a few false positives
> in my searches.  For example, a search for "logo" will return messages
> with the following subject: "Log of changes for ws....".  This can
> make it very hard to find some messages.  Is it possible to
> reconfigure Cyrus to not match results that cross word boundaries or
> to respect spaces?  This behavior is pretty non-intuitive.

No, it is not possible without changing the code.  In many cases, its 
better to give too many search results than too few.

Of course, were are fast approaching the day where the search and sort 
comparitors will require that we do stringprep on all the strings, and 
that day will be very sad.


Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list