6.0.0-beta1
7/6/25

[#13378] Support Umlaut (utf7) Folders in Maildrop Backend
Summary Support Umlaut (utf7) Folders in Maildrop Backend
Queue Ingo
Queue Version 3.2.0
Type Enhancement
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester stephan (at) admin (dot) nabira (dot) de
Created 07/19/2014 (4005 days ago)
Due
Updated 12/30/2014 (3841 days ago)
Assigned 07/22/2014 (4002 days ago)
Resolved 12/30/2014 (3841 days ago)
Milestone
Patch No

History
12/30/2014 08:44:04 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit b5f91b101851e7e9a059465c2840968520f3668b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Dec 29 23:52:32 2014 -0700

     [mms] Maildir requires UTF7-IMAP encoding for folder names (Bug #13378).

     Conflicts:
             ingo/package.xml

  ingo/docs/CHANGES                   |    7 +++++++
  ingo/lib/Script/Maildrop/Recipe.php |    5 ++++-
  ingo/lib/Script/Procmail/Recipe.php |    5 ++++-
  ingo/package.xml                    |   13 +++++++++++++
  4 files changed, 28 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/b5f91b101851e7e9a059465c2840968520f3668b
12/30/2014 06:53:47 AM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
OK - did verify that Maildir *does* require UTF7-IMAP encoding:

http://www.courier-mta.org/maildir.html

Ingo 3.2.4
12/30/2014 06:53:35 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 57fe42d54b8d92fd5168d7ca2aa8d61fdc441f05
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Dec 29 23:52:32 2014 -0700

     [mms] Maildir requires UTF7-IMAP encoding for folder names (Bug #13378).

  ingo/docs/CHANGES                   |    1 +
  ingo/lib/Script/Maildrop/Recipe.php |    5 ++++-
  ingo/lib/Script/Procmail/Recipe.php |    5 ++++-
  ingo/package.xml                    |    4 ++--
  4 files changed, 11 insertions(+), 4 deletions(-)

http://github.com/horde/horde/commit/57fe42d54b8d92fd5168d7ca2aa8d61fdc441f05
08/29/2014 10:22:08 AM Jan Schneider Type ⇒ Enhancement
State ⇒ Feedback
Priority ⇒ 1. Low
 
07/22/2014 04:57:40 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Is this guaranteed to be right?  I can't find dicumentation anywhere 
that says that Maildir folders HAVE to be in utf7-imap.  Because quite 
honestly that doesn't make much sense - Maildir is not limited to use 
with IMAP.  And/or a IMAP server might internally store everything in 
UTF-8 and only convert to utf7-imap internally when speaking IMAP to 
the remote client.

At a minimum, I think that this needs to be a configuration option.   
And given that this is a point release, the default behavior needs to 
be the existing behavior at this point.
07/19/2014 01:40:38 PM stephan (at) admin (dot) nabira (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Support Umlaut (utf7) Folders in Maildrop Backend
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ Yes
New Attachment: Recipe.diff Download
State ⇒ Unconfirmed
Reply to this comment
Umlauts and other utf7 characters in imap mailbox folder names get 
represented in utf8 instead of the utf7 encoding typcal for 
mailbox-folders. Consequently the folder is not found on the 
filesystem when maildrop runs with these filters.

I created a patch addressing the issue by encoding the folder name 
when preparing the output to the maildrop script 
(ingo/lib/Script/Maildrop/Recipe.php).

Saved Queries