<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Certain emails gets encoded wrong and cannot be replied to</title> 
  <pubDate>Thu, 09 Apr 2026 17:24:53 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/14456</link> 
  <atom:link rel="self" type="application/rss+xml" title="Certain emails gets encoded wrong and cannot be replied to" href="https://bugs.horde.org/ticket/14456/rss" /> 
  <description>Certain emails gets encoded wrong and cannot be replied to</description> 
 
   
   
  <item> 
   <title>I communicate extesively with people in the Nordic countries</title> 
   <description>I communicate extesively with people in the Nordic countries, and they have some funny characters [ÅØÖÆåøæö], and Horde seem to get these wrong in some circumstances, and making email replies that are not valid.

My setup is I have postfix/dovecot on a server, and two iPhones. One iPhone accesses the mail as IMAP (via dovecot) and one as ActiveSync (using Horde on same server).

I have one particular user that seems to be more prone to a problem that makes horde submit replies with an attempt to encode the recipient as QP:

Sep  4 02:39:25 popper postfix/smtpd[11134]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 &lt;=?utf-8?Q?&quot;Hylen&gt;: Recipient address rejected: User unknown in local recipient table; from=&lt;alexh@acme.com&gt; to=&lt;=?utf-8?Q?&quot;Hylen&gt; proto=ESMTP helo=&lt;mail.foo.com&gt;

The person&#039;s email is &quot;Håvar Hyle &lt;Havar.Hyle@acme.no&gt;&quot;, and the iPhone using IMAP/MSA has no prolbem reading, displaying and replying to this person&#039;s messages, the phone using Horde usually displays the email subjects wrongly coded (it should be e.g. displayed as &quot;Våken?&quot; but gets displayed as &quot;VÃ¥ken?&quot;, which makes it look like the &quot;å&quot; encoded in some multibyte format somewhere got misrepresented as two single byte chars.

Viewing the email raw, the subject looks like this:
Subject: =?iso-8859-1?Q?RE:_v=E5ken_=3F?=

Which looks like there is latin1 in there also.

All of this runs alone on a CentOS 7 machine with all default installation with English language support, and nothing especially done to pick at PHP or other components for character set changes.

Anyone have any clue what goes wrong?

</description> 
   <pubDate>Sun, 04 Sep 2016 13:38:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90982</link> 
  </item> 
   
  <item> 
   <title>Please provide a complete email message that exhibits this b</title> 
   <description>Please provide a complete email message that exhibits this behavior. </description> 
   <pubDate>Sun, 04 Sep 2016 13:45:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90983</link> 
  </item> 
   
  <item> 
   <title>&gt; Please provide a complete email message that exhibits this</title> 
   <description>&gt; Please provide a complete email message that exhibits this behavior.

Can it be submitted so that it is not public?</description> 
   <pubDate>Sun, 04 Sep 2016 13:51:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90985</link> 
  </item> 
   
  <item> 
   <title>sure, you can email it directly to me at mrubinsk@horde.org</title> 
   <description>sure, you can email it directly to me at mrubinsk@horde.org</description> 
   <pubDate>Sun, 04 Sep 2016 14:29:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90986</link> 
  </item> 
   
  <item> 
   <title>&gt; sure, you can email it directly to me at mrubinsk@horde.or</title> 
   <description>&gt; sure, you can email it directly to me at mrubinsk@horde.org

You have mail.</description> 
   <pubDate>Sun, 04 Sep 2016 16:46:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90987</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; sure, you can email it directly to me at mrubinsk@horde.o</title> 
   <description>&gt;&gt; sure, you can email it directly to me at mrubinsk@horde.org
&gt;
&gt; You have mail.

Yes, thank you. I will look at this when I have time.</description> 
   <pubDate>Sun, 04 Sep 2016 17:11:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90988</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 9cf5454ce451</title> 
   <description>Changes have been made in Git (master):

commit 9cf5454ce4517426b6b612562caf118721fe5390
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Mon Sep 5 16:44:59 2016 -0400

    Bug: 14456 Ensure address-type headers are MIME decoded.
    
    This got lost during the refactoring to the individual
    Horde_Mime_Header* objects. Fixes incorrect parsing of email
    address lists when source headers are MIME encoded.

 .../Mime/lib/Horde/Mime/Headers/Addresses.php      | 18 +++++++++++
 framework/Mime/test/Horde/Mime/HeadersTest.php     | 36 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

http://github.com/horde/horde/commit/9cf5454ce4517426b6b612562caf118721fe5390</description> 
   <pubDate>Mon, 05 Sep 2016 20:47:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90989</link> 
  </item> 
   
  <item> 
   <title>Fixed in Horde_Mime 2.10.1</title> 
   <description>Fixed in Horde_Mime 2.10.1</description> 
   <pubDate>Mon, 05 Sep 2016 20:50:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t90990</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 8a5d8df26732</title> 
   <description>Changes have been made in Git (master):

commit 8a5d8df26732a0fdd0b31b6b3e3ed38887ae5fa5
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Wed Nov 9 15:41:59 2016 -0500

    Revert &quot;Bug: 14456 Ensure address-type headers are MIME decoded.&quot;
    
    This is incorrect. The mime decoding is taken care of in
    Horde_Mail_Rfc822_Address:: already. The test cases were broken,
    as they contained invalid comma characters in the encoded atom.
    
    This reverts commit 9cf5454ce4517426b6b612562caf118721fe5390.

 .../Mime/lib/Horde/Mime/Headers/Addresses.php      | 18 -----------
 framework/Mime/test/Horde/Mime/HeadersTest.php     | 36 ----------------------
 2 files changed, 54 deletions(-)

http://github.com/horde/horde/commit/8a5d8df26732a0fdd0b31b6b3e3ed38887ae5fa5</description> 
   <pubDate>Wed, 09 Nov 2016 20:53:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14456#t91261</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
