6.0.0-beta1
7/13/25

[#10479] INGO with IMAP Server without UTF-8 character set
Summary INGO with IMAP Server without UTF-8 character set
Queue IMP
Queue Version 5.0.11
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester christoph.auber (at) uniklinik-freiburg (dot) de
Created 09/02/2011 (5063 days ago)
Due
Updated 09/09/2011 (5056 days ago)
Assigned
Resolved 09/09/2011 (5056 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/09/2011 06:25:08 AM Michael Slusarz Comment #8
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Ahhh.  Your IMAP server is broken (or at least badly designed).  It 
advertises the SORT capability (RFC 5256), which requires UTF-8 
support (RFC 5256 [3]).  But the regular search command doesn't 
support UTF-8.  Which makes little sense, because the SORT command is 
nothing more than the SEARCH command with a couple of more options.

Therefore, we have to remove the shortcut check for UTF-8 search 
support based on the presence of this capability.
09/09/2011 06:24:58 AM Git Commit Comment #7 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10479: Optimization for determining if UTF-8 search is available

  1 files changed, 21 insertions(+), 11 deletions(-)
http://git.horde.org/horde-git/-/commit/d9134109997e7239bfbf4960f8dd5146a9d23294
09/09/2011 06:24:53 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10479: Fix search charset determination for servers that support 
SORT & ESORT

  2 files changed, 16 insertions(+), 12 deletions(-)
http://git.horde.org/horde-git/-/commit/7b343f6585b186b0fdd1aec2c472dc319c1596bc
09/08/2011 11:42:11 AM christoph (dot) auber (at) uniklinik-freiburg (dot) de Comment #5
New Attachment: mail1debug_witherror.log Download
Reply to this comment
i append a debug log including two lines:
(1315479697.3617) C: 4 UID SEARCH CHARSET UTF-8 (UNDELETED FROM 
cauberl@web.de)
(1315479697.4020) S: 4 NO UTF-8 character set is not supported.
after removing some FETCHes with Maildata.

[Show Quoted Text - 20 lines]
09/07/2011 10:27:19 PM Michael Slusarz Comment #4 Reply to this comment
2011-09-05T16:58:50+02:00 ERR: HORDE [imp] IMAP error: UTF-8 
character set is not supported. [pid 4873 on line 340 of 
"/srv/www/htdocs/horde/imp/lib/Imap.php"]
Really don't know where this is coming from, since before we run the 
search we specifically check to see if the search charset is valid 
(Imap.php, lines 471-77).

Maybe an IMAP debug log will help out:

To further debug this issue, we need details of the IMP -> IMAP/POP 
communication.

To enable debugging, see instructions contained in 
imp/config/backends.php (the 'debug' config parameter).

Debugging should not be enabled on a production server,   Attach/post 
only the portion of the log that directly deals with the problem 
reported (it may be simplest to clear the log file and then perform 
the event that causes the error).
09/07/2011 06:56:20 AM christoph (dot) auber (at) uniklinik-freiburg (dot) de Comment #3 Reply to this comment
Please post the error details from the Horde log.
When starting Horde / Imp with an active filter, for each active 
filter (or maybe each message to move to another folder by the filter) 
the error occurs:

2011-09-05T16:58:50+02:00 ERR: HORDE [imp] IMAP error: UTF-8 character 
set is not supported. [pid 4873 on line 340 of 
"/srv/www/htdocs/horde/imp/lib/Imap.php"]

and no messages are moved by filter. The same happens when pushing the 
filter now button.

Moving messages from folder to folder works fine with IMP.
09/06/2011 04:29:12 PM Michael Slusarz Comment #2 Reply to this comment
Please post the error details from the Horde log.
09/02/2011 12:15:45 PM christoph (dot) auber (at) uniklinik-freiburg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ INGO with IMAP Server without UTF-8 character set
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When configuring a blacklist filter or any other with INGO, no 
filtering occurs in any IMP-IMAP folder. A message " ERR: HORDE [imp] 
IMAP error: UTF-8 character set is not supported. [pid 29488 on line 
340 of "/srv/www/htdocs/horde/imp/lib/Imap.php"]" appears in 
horde.log. Because the error occurs in module [imp], i think its an 
imp problem with imap using UTF-8 codepage where not supported by the 
imap server ? Deleting messages with imp is ok.

Saved Queries