On Fri, 2004-12-24 at 20:19 +0900, Kazuo Moriwaka wrote:
I wrote a patch for header search about a word over two lines. Please check it.
For example, following header string contains a word splitted into two mime encoded block. It's normal behavior of MUAs in CJK environment.
Subject: =?ISO-2022-JP?B?Sk1CGyRCJUQlIiE8JUslZSE8JTkhIRsoQkpBTBskQiVBJWMhPCU/GyhC?= =?ISO-2022-JP?B?GyRCITxKWCRHOVQkLxsoQiAbJEI0WjlxGyhCLxskQiVRJWklKhsoQi8bJEIlNSUkJVElcxsoQg==?=
The way UW-IMAP (and probably others) do it is that they check if MIME block continues with another MIME block. If it does, the spaces between them are ignored.
I think I'll do it that way for Dovecot, but with the current code it's not that simple change. Maybe it's time for larger fixes in searching code..