<?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>Identity selection doesn&#039;t work</title> 
  <pubDate>Fri, 10 Apr 2026 16:31:14 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11234</link> 
  <atom:link rel="self" type="application/rss+xml" title="Identity selection doesn&#039;t work" href="https://bugs.horde.org/ticket/11234/rss" /> 
  <description>Identity selection doesn&#039;t work</description> 
 
   
   
  <item> 
   <title>Automatic identity selection on replies/forwards doesn&#039;t wor</title> 
   <description>Automatic identity selection on replies/forwards doesn&#039;t work anymore.</description> 
   <pubDate>Mon, 02 Jul 2012 17:25:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71677</link> 
  </item> 
   
  <item> 
   <title>Works fine here.  Just replied to a list message, and my ide</title> 
   <description>Works fine here.  Just replied to a list message, and my identity was correctly set to my (non-default) Horde identity.</description> 
   <pubDate>Thu, 05 Jul 2012 19:07:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71705</link> 
  </item> 
   
  <item> 
   <title>Should the identity parameter still be passed to the compose</title> 
   <description>Should the identity parameter still be passed to the compose window? I don&#039;t see it in its URL. Or this completely matched in compose-dimp.php now?</description> 
   <pubDate>Thu, 05 Jul 2012 19:30:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71707</link> 
  </item> 
   
  <item> 
   <title>&gt; Should the identity parameter still be passed to the compo</title> 
   <description>&gt; Should the identity parameter still be passed to the compose window? 
&gt; I don&#039;t see it in its URL. Or this completely matched in 
&gt; compose-dimp.php now?

The identity parameter CAN be passed - but it will be overridden by the identity determination when determining reply/forward data (in other words: preferences trump any identity parameter passed in URL/form data).</description> 
   <pubDate>Thu, 05 Jul 2012 20:04:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71708</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Should the identity parameter still be passed to the comp</title> 
   <description>&gt;&gt; Should the identity parameter still be passed to the compose window?
&gt;&gt; I don&#039;t see it in its URL. Or this completely matched in
&gt;&gt; compose-dimp.php now?
&gt;
&gt; The identity parameter CAN be passed - but it will be overridden by 
&gt; the identity determination when determining reply/forward data (in 
&gt; other words: preferences trump any identity parameter passed in 
&gt; URL/form data).

Where is this happening, so I can easier track it down?</description> 
   <pubDate>Thu, 05 Jul 2012 20:26:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71711</link> 
  </item> 
   
  <item> 
   <title>&gt; Where is this happening, so I can easier track it down?
</title> 
   <description>&gt; Where is this happening, so I can easier track it down?

The parsing of the URL parameter?  IMP_Dynamic_Compose, around line 60.</description> 
   <pubDate>Thu, 05 Jul 2012 21:15:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71712</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Where is this happening, so I can easier track it down?
</title> 
   <description>&gt;&gt; Where is this happening, so I can easier track it down?
&gt;
&gt; The parsing of the URL parameter?  IMP_Dynamic_Compose, around line 60.

No, the identity selection if *not* using the parameter.</description> 
   <pubDate>Thu, 05 Jul 2012 21:24:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71713</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Where is this happening, so I can easier track it down?</title> 
   <description>&gt;&gt;&gt; Where is this happening, so I can easier track it down?
&gt;&gt;
&gt;&gt; The parsing of the URL parameter?  IMP_Dynamic_Compose, around line 60.
&gt;
&gt; No, the identity selection if *not* using the parameter.

The &#039;identity&#039; key in the return array of IMP_Compose#replyMessage() and IMP_Compose#forwardMessage().</description> 
   <pubDate>Thu, 05 Jul 2012 21:43:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71714</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt;&gt; Where is this happening, so I can easier track it down?</title> 
   <description>&gt;&gt;&gt;&gt; Where is this happening, so I can easier track it down?
&gt;&gt;&gt;
&gt;&gt;&gt; The parsing of the URL parameter?  IMP_Dynamic_Compose, around line 60.
&gt;&gt;
&gt;&gt; No, the identity selection if *not* using the parameter.
&gt;
&gt; The &#039;identity&#039; key in the return array of IMP_Compose#replyMessage() 
&gt; and IMP_Compose#forwardMessage().

This is what happens: in Imp_Prefs_Identity#getMatchingIdentity() all message addresses (From:, To:) are passed to contains(). Horde_Mail_Rfc822_List#contains() wraps this list into Horde_Mail_Rfc822_Address() which only contains the first address (From:) after that. Of course the match() below doesn&#039;t work anymore then.
I have no idea how this is working on your system.</description> 
   <pubDate>Thu, 05 Jul 2012 22:08:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71715</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 193ef607b07</title> 
   <description>Changes have been made in Git (develop):

commit 193ef607b07f4e2e64b5b18f569700c861b6ef98
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Thu Jul 5 16:23:00 2012 -0600

    Bug #11234: Fix identity selection when replying/forwarding to a message sent from a personal from address.

 imp/lib/Prefs/Identity.php |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/193ef607b07f4e2e64b5b18f569700c861b6ef98</description> 
   <pubDate>Thu, 05 Jul 2012 22:23:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71716</link> 
  </item> 
   
  <item> 
   <title>&gt; I have no idea how this is working on your system.

This</title> 
   <description>&gt; I have no idea how this is working on your system.

This was working for me because I was matching &quot;tie-to&quot; addresses.  As you discovered, the search/match was failing at the &quot;from&quot; search, which is an extremely rare fringe case.  This match would only be triggered if replying to one of your own messages

Since replies to list are triggered at the tie-to level (lists will never be a From address), this was the reason I wasn&#039;t seeing this.</description> 
   <pubDate>Thu, 05 Jul 2012 22:27:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71717</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I have no idea how this is working on your system.
&gt;
&gt; </title> 
   <description>&gt;&gt; I have no idea how this is working on your system.
&gt;
&gt; This was working for me because I was matching &quot;tie-to&quot; addresses.  
&gt; As you discovered, the search/match was failing at the &quot;from&quot; search, 
&gt; which is an extremely rare fringe case.  This match would only be 
&gt; triggered if replying to one of your own messages
&gt;
&gt; Since replies to list are triggered at the tie-to level (lists will 
&gt; never be a From address), this was the reason I wasn&#039;t seeing this.

Not quite, this happened in almost all cases, because if my identities would match the From: address, it wouldn&#039;t matter if only that address was compared. But since the To: address was dropped, in never worked, unless I had tied-to addresses set (didn&#039;t test the latter).
Anyway, works fine now, thanks!</description> 
   <pubDate>Thu, 05 Jul 2012 22:35:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t71718</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

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

commit 193ef607b07f4e2e64b5b18f569700c861b6ef98
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Thu Jul 5 16:23:00 2012 -0600

    Bug #11234: Fix identity selection when replying/forwarding to a message sent from a personal from address.

 imp/lib/Prefs/Identity.php |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/193ef607b07f4e2e64b5b18f569700c861b6ef98</description> 
   <pubDate>Wed, 29 Aug 2012 12:40:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11234#t72542</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
