[Dovecot] bug in dovecot search

Cor Bosman cor at xs4all.nl
Fri Jul 15 15:00:48 EEST 2005


> Which version of Dovecot (and which OS)?

test78, FreeBSD 4.10. 
My previous message didnt show the real issue..

. UID search ALL FROM "phyllis"
* SEARCH 1351
. OK Search completed.

. UID SEARCH CHARSET "US-ASCII" ALL FROM "phyllis"
* SEARCH
. OK Search completed.

The RFC says:

      The OPTIONAL [CHARSET] specification consists of the word
      "CHARSET" followed by a registered [CHARSET].  It indicates the
      [CHARSET] of the strings that appear in the search criteria.

Now, the FROM in question looks like:

From: =?windows-1251?B?cGh5bGxpc0BhbGFjYXJ0YS5jb20g?= <suvro at wartaponsel.com>

The windows encoded string says "phyllis at alacarta.com"

Since the CHARSET applies to the search criteria, and not to the header
that is searched, isnt this supposed to return the same UIDs?

Cor




More information about the dovecot mailing list