[horde] imap search: missing CHARSET UTF-8 string
Stephan Lauffer
lauffer at ph-freiburg.de
Fri Apr 4 09:09:06 UTC 2014
Hello!
Zitat von Michael M Slusarz <slusarz at horde.org>:
> Quoting Stephan Lauffer <lauffer at ph-freiburg.de>:
>
>> Hello!
>>
>> We noticed different imap search commands on different horde
>> webgroupware installations here. One of them is adding the "CHARSET
>> UTF-8" entry into the imap search (f.e..: "<1396253172<5 UID SEARCH
>> RETURN (ALL COUNT) CHARSET UTF-8 SUBJECT {8+}") but another
>> installation didn't.
>>
>> Both of them are running on the same distribution, same version of
>> cyrus imapd 2.4.17 and the test script detects a working utf8
>> support. The one system whithout the utf8 string fails on searches
>> with german umlauts and so on...
>
> Without an IMAP debug log of the problem server, there's not much
> support I can provide.
>
> michael
Hope these two logs contains enough...:
(1) working search... (changed servernames, logins...)
<<snip>>
------------------------------
>> Fri, 04 Apr 2014 10:58:25 +0200
>> Server connection took 0,0004 seconds.
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN
AUTH=LOGIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR] Foo-Server.de Cyrus
IMAP v2.4.17 server ready
C: 1 STARTTLS
S: 1 OK Begin TLS negotiation now
>> Command 1 took 0,0016 seconds.
>> Successfully completed TLS negotiation.
2 [AUTHENTICATE Command - method: PLAIN, username: foo]
>> CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
C: 3 ENABLE QRESYNC
C: 4 EXAMINE INBOX
S: * ENABLED CONDSTORE QRESYNC
S: 3 OK Completed
>> Command 3 took 0,002 seconds.
S: * 19 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk
$MDNSent $Forwarded $label2 $Junk $NotJunk $label1 $label3 $label4
$label5 redirected schagwort_-_gr&apw-n schlagwort_-_blau)
S: * OK [PERMANENTFLAGS ()] Ok
S: * OK [UIDVALIDITY 1141987534] Ok
S: * OK [UIDNEXT 26825] Ok
S: * OK [HIGHESTMODSEQ 20236] Ok
S: * OK [URLMECH INTERNAL] Ok
S: 4 OK [READ-ONLY] Completed
>> Command 4 took 0,0065 seconds.
>> CACHE: Stored metadata (_m,uidvalid [INBOX])
>> SEARCH: Expired from cache [INBOX]
C: 5 UID SEARCH RETURN (ALL COUNT) CHARSET UTF-8 SUBJECT {6+}
C: [LITERAL DATA: 6 bytes]
C:
S: * ESEARCH (TAG "5") COUNT 0
S: 5 OK Completed (0 msgs in 0.000 secs)
>> Command 5 took 0,0435 seconds.
<<snap>>
(2) ...and the not working one. Maybe the problem is caused by a
result of our murder setup?
<<snip>>
------------------------------
>> Fri, 04 Apr 2014 10:59:03 +0200
>> Server connection took 0,0123 seconds.
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE
MUPDATE=mupdate://localhost/ AUTH=LOGIN AUTH=PLAIN SASL-IR] Bar-Server
Cyrus IMAP Murder v2.4.17 server ready
1 [AUTHENTICATE Command - method: PLAIN, username: bar]
>> CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
C: 2 ENABLE QRESYNC
C: 3 EXAMINE INBOX.Read-Messages
S: * ENABLED CONDSTORE QRESYNC
S: 2 OK Completed
>> Command 2 took 0,0006 seconds.
>> Slow Command: 15,027 seconds
C: 22 STATUS INBOX (MESSAGES UIDNEXT HIGHESTMODSEQ)
S: * STATUS INBOX (MESSAGES 150 UIDNEXT 1603 HIGHESTMODSEQ 1584)
S: 22 OK Completed
>> Command 22 took 0,001 seconds.
S: * ENABLED CONDSTORE QRESYNC
S: * 22162 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk $Forwarded
NonJunk $MDNSent $Label5 $Label1 $Label2 $NotJunk $Junk
receipt-handled $has_cal redirected NotJunk roter Marker
schlagwort_-_blau Orange as)
S: * OK [PERMANENTFLAGS ()] Ok
S: * OK [UIDVALIDITY 1097315213] Ok
S: * OK [UIDNEXT 107149] Ok
S: * OK [HIGHESTMODSEQ 702] Ok
S: * OK [URLMECH INTERNAL] Ok
S: 3 OK [READ-ONLY] Completed
>> Command 3 took 0,154 seconds.
>> CACHE: Stored metadata (_m,uidvalid [INBOX.Read-Messages])
>> SEARCH: Expired from cache [INBOX.Read-Messages]
C: 4 UID SEARCH RETURN (ALL COUNT) SUBJECT {6+}
C: [LITERAL DATA: 6 bytes]
C: UNDELETED
>> Slow Command: 15,01 seconds
C: 18 STATUS INBOX (MESSAGES UIDNEXT HIGHESTMODSEQ)
S: * STATUS INBOX (MESSAGES 128 UIDNEXT 133 HIGHESTMODSEQ 274)
S: 18 OK Completed
>> Command 18 took 0,0011 seconds.
<<snap>>
--
Liebe Gruesse, with best regards
Stephan Lauffer
Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5482 bytes
Desc: S/MIME-Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20140404/e246599f/attachment-0001.bin>
More information about the horde
mailing list