[Dovecot] Search inside body of message
Hi list,
I was wondering about server-side search inside entire message, is dovecot support only english encoding now? I'm using Thunderbird but it can't find anything if I'm using language other than English.
On 17.11.2007, at 2.14, Nikolay Shopik wrote:
I was wondering about server-side search inside entire message, is
dovecot support only english encoding now? I'm using Thunderbird
but it can't find anything if I'm using language other than English.
What Dovecot version? What operating system? As long as you have
iconv support for charsets in your mails, it should work. v1.0
supports case-insensitive searches only for ASCII characters, v1.1
for all.
On 17.11.2007 3:40, Timo Sirainen wrote:
On 17.11.2007, at 2.14, Nikolay Shopik wrote:
I was wondering about server-side search inside entire message, is dovecot support only english encoding now? I'm using Thunderbird but it can't find anything if I'm using language other than English.
What Dovecot version? What operating system? As long as you have iconv support for charsets in your mails, it should work. v1.0 supports case-insensitive searches only for ASCII characters, v1.1 for all.
I'm running Dovecot 1.0.5 on Debian etch testing. Never heard about iconv, how its works with dovecot?
On 17.11.2007, at 2.43, Nikolay Shopik wrote:
On 17.11.2007 3:40, Timo Sirainen wrote:
On 17.11.2007, at 2.14, Nikolay Shopik wrote:
I was wondering about server-side search inside entire message,
is dovecot support only english encoding now? I'm using
Thunderbird but it can't find anything if I'm using language
other than English.What Dovecot version? What operating system? As long as you have
iconv support for charsets in your mails, it should work. v1.0
supports case-insensitive searches only for ASCII characters, v1.1
for all.I'm running Dovecot 1.0.5 on Debian etch testing. Never heard about
iconv, how its works with dovecot?
Did you use Dovecot from .deb or compile yourself? If you used .deb
it should have worked. If you compiled yourself, then the reason
could be a missing gettext package.
Could you create some test case for this? Like create a mailbox with
a single mail and search some word that exists in it but that isn't
returned. Grab the SEARCH command that Thunderbird sent using
Dovecot's rawlog (http://dovecot.org/bugreport.html#sniffing), ngrep,
Wireshark or whatever. Then send the mailbox and the SEARCH command
to me as attachments and I'll take a look at it.
On 17.11.2007 20:13, Timo Sirainen wrote:
On 17.11.2007, at 2.43, Nikolay Shopik wrote:
On 17.11.2007 3:40, Timo Sirainen wrote:
On 17.11.2007, at 2.14, Nikolay Shopik wrote:
I was wondering about server-side search inside entire message, is dovecot support only english encoding now? I'm using Thunderbird but it can't find anything if I'm using language other than English.
What Dovecot version? What operating system? As long as you have iconv support for charsets in your mails, it should work. v1.0 supports case-insensitive searches only for ASCII characters, v1.1 for all.
I'm running Dovecot 1.0.5 on Debian etch testing. Never heard about iconv, how its works with dovecot?
Did you use Dovecot from .deb or compile yourself? If you used .deb it should have worked. If you compiled yourself, then the reason could be a missing gettext package.
Could you create some test case for this? Like create a mailbox with a single mail and search some word that exists in it but that isn't returned. Grab the SEARCH command that Thunderbird sent using Dovecot's rawlog (http://dovecot.org/bugreport.html#sniffing), ngrep, Wireshark or whatever. Then send the mailbox and the SEARCH command to me as attachments and I'll take a look at it. Yes I'm using deb. Well to make things easier for you I've just tested using other email client (Mullberry). Seems Thunderbird screwup something in encoding (same thing as renaming folders). So that's not dovecot problem ;).
On Sat, 17 Nov 2007, Nikolay Shopik wrote:
Yes I'm using deb. Well to make things easier for you I've just tested using other email client (Mullberry). Seems Thunderbird screwup something in encoding (same thing as renaming folders). So that's not dovecot problem ;).
That's a drag - follow Timo's steps for the transcript of Mulberry and the transcript of Thunderbird, and file a Thunderbird bug! (-:
If you're tired of this and want someone else to, I might be willing to help.
-- Asheesh.
-- All is well that ends well. -- John Heywood
On 18.11.2007 17:33, Asheesh Laroia wrote:
On Sat, 17 Nov 2007, Nikolay Shopik wrote:
Yes I'm using deb. Well to make things easier for you I've just tested using other email client (Mullberry). Seems Thunderbird screwup something in encoding (same thing as renaming folders). So that's not dovecot problem ;).
That's a drag - follow Timo's steps for the transcript of Mulberry and the transcript of Thunderbird, and file a Thunderbird bug! (-:
If you're tired of this and want someone else to, I might be willing to help.
-- Asheesh.
-- All is well that ends well. -- John Heywood No worries here, as I mention in other mail it was misconfiguration of TB. Because I'm using English version of TB instead of localized, there default encoding is ISO-8859-1, so I just changed it and it works.
On Sun, 2007-11-18 at 21:01 +0300, Nikolay Shopik wrote:
No worries here, as I mention in other mail it was misconfiguration of TB. Because I'm using English version of TB instead of localized, there default encoding is ISO-8859-1, so I just changed it and it works.
I don't understand why there's any need to select a default encoding in the first place. Still sounds like a bug if it can't generate a working SEARCH command.
On 18.11.2007 21:17, Timo Sirainen wrote:
On Sun, 2007-11-18 at 21:01 +0300, Nikolay Shopik wrote:
No worries here, as I mention in other mail it was misconfiguration of TB. Because I'm using English version of TB instead of localized, there default encoding is ISO-8859-1, so I just changed it and it works.
I don't understand why there's any need to select a default encoding in the first place. Still sounds like a bug if it can't generate a working SEARCH command.
Yeah agree with you I will probably fill bug in bugzilla of TB. Its just incorrectly select encoding in search.
5 uid SEARCH CHARSET ISO-8859-1 UNDELETED BODY "B5AB"
- SEARCH 5 OK Search completed.
On 18.11.2007 21:19, Nikolay Shopik wrote:
On 18.11.2007 21:17, Timo Sirainen wrote:
On Sun, 2007-11-18 at 21:01 +0300, Nikolay Shopik wrote:
No worries here, as I mention in other mail it was misconfiguration of TB. Because I'm using English version of TB instead of localized, there default encoding is ISO-8859-1, so I just changed it and it works.
I don't understand why there's any need to select a default encoding in the first place. Still sounds like a bug if it can't generate a working SEARCH command.
Yeah agree with you I will probably fill bug in bugzilla of TB. Its just incorrectly select encoding in search.
5 uid SEARCH CHARSET ISO-8859-1 UNDELETED BODY "B5AB"
- SEARCH 5 OK Search completed.
If somebody else aware of this bug here is link https://bugzilla.mozilla.org/show_bug.cgi?id=404255
participants (3)
-
Asheesh Laroia
-
Nikolay Shopik
-
Timo Sirainen