<?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>Activesync identities should use the default identity as a default in the Webmail edition</title> 
  <pubDate>Fri, 10 Apr 2026 03:39:17 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13346</link> 
  <atom:link rel="self" type="application/rss+xml" title="Activesync identities should use the default identity as a default in the Webmail edition" href="https://bugs.horde.org/ticket/13346/rss" /> 
  <description>Activesync identities should use the default identity as a default in the Webmail edition</description> 
 
   
   
  <item> 
   <title>In a webmail context, unless I don&#039;t understand what the &quot;Ho</title> 
   <description>In a webmail context, unless I don&#039;t understand what the &quot;Horde default&quot; is, it doesn&#039;t make sense to use one system-wide identity for all the email accounts which will be managed by the system. On top of that, users will have no idea what it means.

So I think the default for the Activesync identity in both the Activesync and Kronolith prefs should be set to Default Identity as a default.

Also, it&#039;s not possible to send emails from a mobile device unless the default identity has the email address field populated. This was not necessary in the past, so maybe, if empty, that field could be populated at login time with the email address provided?</description> 
   <pubDate>Thu, 10 Jul 2014 14:58:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84609</link> 
  </item> 
   
  <item> 
   <title>&gt; In a webmail context, unless I don&#039;t understand what the &quot;</title> 
   <description>&gt; In a webmail context, unless I don&#039;t understand what the &quot;Horde 
&gt; default&quot; is, it doesn&#039;t make sense to use one system-wide identity 
&gt; for all the email accounts which will be managed by the system. On 
&gt; top of that, users will have no idea what it means.
&gt;
&gt; So I think the default for the Activesync identity in both the 
&gt; Activesync and Kronolith prefs should be set to Default Identity as a 
&gt; default.

It already IS, unless I am misunderstanding what you are saying. 

&gt; Also, it&#039;s not possible to send emails from a mobile device unless 
&gt; the default identity has the email address field populated. This was 
&gt; not necessary in the past, so maybe, if empty, that field could be 
&gt; populated at login time with the email address provided?

This was already discussed on the mailing list. A properly configured identity is a REQUIREMENT for using email in Horde, period. IMP doesn&#039;t work without one either. If you don&#039;t want the user to be responsible for setting this up on their own then use a hook to populate it. IIRC, the pref_init hook can be used for something like this.

</description> 
   <pubDate>Thu, 10 Jul 2014 15:48:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84610</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; In a webmail context, unless I don&#039;t understand what the </title> 
   <description>&gt;&gt; In a webmail context, unless I don&#039;t understand what the &quot;Horde
&gt;&gt; default&quot; is, it doesn&#039;t make sense to use one system-wide identity
&gt;&gt; for all the email accounts which will be managed by the system. On
&gt;&gt; top of that, users will have no idea what it means.
&gt;&gt;
&gt;&gt; So I think the default for the Activesync identity in both the
&gt;&gt; Activesync and Kronolith prefs should be set to Default Identity as a
&gt;&gt; default.
&gt;
&gt; It already IS, unless I am misunderstanding what you are saying.
&gt;
I just did a test with the Horde defaults and a properly configured identity and it worked. I think I just did not understand the labels and it could be a problem for users as well.

Configured Horde Defaults: I thought it was a system wide account, but it seems to be the identity set as the default on the Personal Information pref page.

Why not just automagically select the default from the list and perhaps add a (default) next to it?
Something like this:
*Default Identity (default)*
Anonymous
Mobile

The user could select the mobile identity for activesync and If they change their default on the PI page, then the dropdown would be updated
Anonymous (default)
Default Identity
*Mobile*</description> 
   <pubDate>Thu, 10 Jul 2014 16:18:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84612</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; In a webmail context, unless I don&#039;t understand what the</title> 
   <description>&gt;&gt;&gt; In a webmail context, unless I don&#039;t understand what the &quot;Horde
&gt;&gt;&gt; default&quot; is, it doesn&#039;t make sense to use one system-wide identity
&gt;&gt;&gt; for all the email accounts which will be managed by the system. On
&gt;&gt;&gt; top of that, users will have no idea what it means.
&gt;&gt;&gt;
&gt;&gt;&gt; So I think the default for the Activesync identity in both the
&gt;&gt;&gt; Activesync and Kronolith prefs should be set to Default Identity as a
&gt;&gt;&gt; default.
&gt;&gt;
&gt;&gt; It already IS, unless I am misunderstanding what you are saying.
&gt;&gt;
&gt; I just did a test with the Horde defaults and a properly configured 
&gt; identity and it worked. I think I just did not understand the labels 
&gt; and it could be a problem for users as well.
&gt;
&gt; Configured Horde Defaults: I thought it was a system wide account, 
&gt; but it seems to be the identity set as the default on the Personal 
&gt; Information pref page.

Any suggestions on better wording would be considered.

&gt; Why not just automagically select the default from the list and 
&gt; perhaps add a (default) next to it?
&gt; Something like this:
&gt; *Default Identity (default)*
&gt; Anonymous
&gt; Mobile

Because selecting the &quot;Horde Default&quot; means that whenever you change the default identity in the Personal Information preferences, this newly selected default identity would then be honored in those other applications as well. If we just set that value to whatever the currently selected default is, then the user would have to revisit all the other applications and change the value in those as well.


&gt; The user could select the mobile identity for activesync and If they 
&gt; change their default on the PI page, then the dropdown would be 
&gt; updated
&gt; Anonymous (default)
&gt; Default Identity
&gt; *Mobile*

Yes, the drop down could be modified, but the actual preference value in use would still be the previously selected one until the user changed it.
</description> 
   <pubDate>Thu, 10 Jul 2014 16:27:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84613</link> 
  </item> 
   
  <item> 
   <title>&gt; Any suggestions on better wording would be considered.
Wh</title> 
   <description>&gt; Any suggestions on better wording would be considered.
Why not call it &quot;Always use your default identity&quot; then?

&gt;
&gt;&gt; Why not just automagically select the default from the list and
&gt;&gt; perhaps add a (default) next to it?
&gt;&gt; Something like this:
&gt;&gt; *Default Identity (default)*
&gt;&gt; Anonymous
&gt;&gt; Mobile
&gt;
&gt; Because selecting the &quot;Horde Default&quot; means that whenever you change 
&gt; the default identity in the Personal Information preferences, this 
&gt; newly selected default identity would then be honored in those other 
&gt; applications as well. If we just set that value to whatever the 
&gt; currently selected default is, then the user would have to revisit 
&gt; all the other applications and change the value in those as well.
&gt;
Ah, of course.

&gt; This was already discussed on the mailing list. A properly configured 
&gt; identity is a REQUIREMENT for using email in Horde, period. IMP 
&gt; doesn&#039;t work without one either. If you don&#039;t want the user to be 
&gt; responsible for setting this up on their own then use a hook to 
&gt; populate it. IIRC, the pref_init hook can be used for something like 
&gt; this.
&gt;
In 5.1, it was possible to send emails both from IMP and mobile without having to fill in any of the fields of the default identity.

I&#039;ve looked at hooks prefs_init does not have access to application data and is cached for the session only, but I&#039;ll try with appauthenticated.</description> 
   <pubDate>Thu, 10 Jul 2014 20:26:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84642</link> 
  </item> 
   
  <item> 
   <title>
&gt; In 5.1, it was possible to send emails both from IMP and</title> 
   <description>
&gt; In 5.1, it was possible to send emails both from IMP and mobile 
&gt; without having to fill in any of the fields of the default identity.

No, it wasn&#039;t. IMP has ALWAYS required a valid &quot;From&quot; address to send email. Previously, ActiveSync used to rely on the client sending the From: header when sending an email, but that was changed since not all clients do this reliably.

</description> 
   <pubDate>Thu, 10 Jul 2014 21:33:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84643</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve found a way to make the prefs stick. The attached file </title> 
   <description>I&#039;ve found a way to make the prefs stick. The attached file is a hook which will fill the Identity&#039;s from field using the email address used at login time.</description> 
   <pubDate>Thu, 10 Jul 2014 21:35:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84644</link> 
  </item> 
   
  <item> 
   <title>Is there a way to redirect the user to the identity page and</title> 
   <description>Is there a way to redirect the user to the identity page and to add a notification from the hook?
</description> 
   <pubDate>Fri, 11 Jul 2014 17:21:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84670</link> 
  </item> 
   
  <item> 
   <title>&gt; Is there a way to redirect the user to the identity page a</title> 
   <description>&gt; Is there a way to redirect the user to the identity page and to add a 
&gt; notification from the hook?

Redirect the user to the identity page from where?</description> 
   <pubDate>Fri, 11 Jul 2014 17:40:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84673</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Is there a way to redirect the user to the identity page </title> 
   <description>&gt;&gt; Is there a way to redirect the user to the identity page and to add a
&gt;&gt; notification from the hook?
&gt;
&gt; Redirect the user to the identity page from where?

Right after logging in, ideally setting the 1st page the user sees from the prefs_init hook, because I don&#039;t know how to be able to tell later in the process if the from field has just been automatically populated or if it was there already.</description> 
   <pubDate>Fri, 11 Jul 2014 17:50:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84676</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Is there a way to redirect the user to the identity page</title> 
   <description>&gt;&gt;&gt; Is there a way to redirect the user to the identity page and to add a
&gt;&gt;&gt; notification from the hook?
&gt;&gt;
&gt;&gt; Redirect the user to the identity page from where?
&gt;
&gt; Right after logging in, ideally setting the 1st page the user sees 
&gt; from the prefs_init hook, 
 
I guess you could try redirecting to the pref page if the identity pref is empty (ignoring the check if the current page IS the prefs page). Of course, that is left as an exercise for the reader.

&gt;because I don&#039;t know how to be able to tell 
&gt; later in the process if the from field has just been automatically 
&gt; populated or if it was there already.

What does it matter?</description> 
   <pubDate>Fri, 11 Jul 2014 17:56:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84677</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

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

commit 809d65eeb75ea6c424a2ac73390de5bb74510cd7
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Sat Jul 12 00:20:35 2014 -0400

    Fix regression when sending ActiveSync email and no From address is supplied in identity prefs.
    
    Bug: 13346

 framework/Core/lib/Horde/Core/ActiveSync/Mail.php |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/809d65eeb75ea6c424a2ac73390de5bb74510cd7</description> 
   <pubDate>Sat, 12 Jul 2014 04:21:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84685</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve rethought this.

The problem was that in IMP if a Fro</title> 
   <description>I&#039;ve rethought this.

The problem was that in IMP if a From address is not found in the identity AND a &#039;maildomain&#039; is configured in IMP&#039;s backends.php file, then a From address can be built from that. ActiveSync doesn&#039;t use IMP to send email, and doesn&#039;t have access to IMP&#039;s IMAP configuration.

So, for ActiveSync, if we don&#039;t find a properly configured identity, fall back to the device&#039;s supplied From address and cross our fingers that it is accurate.</description> 
   <pubDate>Sat, 12 Jul 2014 04:25:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84686</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;ve rethought this.
&gt;
&gt; The problem was that in IMP if </title> 
   <description>&gt; I&#039;ve rethought this.
&gt;
&gt; The problem was that in IMP if a From address is not found in the 
&gt; identity AND a &#039;maildomain&#039; is configured in IMP&#039;s backends.php file, 
&gt; then a From address can be built from that. ActiveSync doesn&#039;t use 
&gt; IMP to send email, and doesn&#039;t have access to IMP&#039;s IMAP 
&gt; configuration.
&gt;
&gt; So, for ActiveSync, if we don&#039;t find a properly configured identity, 
&gt; fall back to the device&#039;s supplied From address and cross our fingers 
&gt; that it is accurate.
Great news. That way we can still tll people to fill in their profile, but thing will still work if they don&#039;t.</description> 
   <pubDate>Sat, 12 Jul 2014 14:29:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13346#t84699</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
