[Dovecot] dovecot, search and i18n

Timo Sirainen tss at iki.fi
Tue Jun 20 12:30:22 EEST 2006


On Tue, 2006-06-20 at 13:19 +0400, Alex Povolotsky wrote:
> Timo Sirainen wrote:
> > On Tue, 2006-06-20 at 11:45 +0400, Alex Povolotsky wrote:
> >   
> >> Hello!
> >>
> >> Does dovecot support i18n'd search?
> >>     
> >
> > It supports searching with all the character sets that your system's
> > iconv supports. Case-insensitive matching unfortunately works only for
> > A-Z characters for now.
> >
> >   
> Hmm... Attempt to plainly use squirrelmail's search resulted in no 
> success at all. Imap command was quite plain,
> 
> SEARCH ALL SUBJECT {10}[russian letters here]
> 
> The problem is that Cyrillic has at least two widely used encodings. 
> Maybe I need to specify them exactly somehow?

I don't know much about Squirrelmail configuration, but SEARCH command
should specify character set if using non-ascii characters in search
string. Otherwise Dovecot will just try to search them from the mails
without any charset conversions.

So correct way would have been something like:

SEARCH CHARSET cyrillic ALL SUBJECT {10}

Maybe someone in this list knows more about Squirrelmail..
-------------- 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/20060620/b4a93620/attachment.pgp


More information about the dovecot mailing list