6.0.0-beta1
7/5/25

[#13062] Default SmtpAddress not identified in ActiveSync
Summary Default SmtpAddress not identified in ActiveSync
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester spamstop2 (at) terriertech (dot) com
Created 03/19/2014 (4126 days ago)
Due
Updated 03/26/2014 (4119 days ago)
Assigned 03/20/2014 (4125 days ago)
Resolved 03/25/2014 (4120 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/26/2014 03:45:34 AM spamstop2 (at) terriertech (dot) com Comment #6 Reply to this comment
I'd rather only send the single SmtpAddress tag since the behavior 
the client is exhibiting isn't a documented feature of the protocol, 
from what I can tell.
Thanks Mike, I agree this seems the right way - not that you need my 
blessing ;-)
03/25/2014 11:09:51 PM Michael Rubinsky Comment #5
State ⇒ Resolved
Reply to this comment
Horde_ActiveSync-2.13.4 and Horde_Core-2.11.2
03/25/2014 11:03:29 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 2ac0bc92e3a8a4aab2b1c9f143a4eb0e80129ede
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue Mar 25 18:59:20 2014 -0400

     Send primarysmtpaddress, if applicable.

     If EAS version is less than 14.1, only send the default 
identity's from_addr
     since some clients apparently rewrite the account's from_addr based on an
     arbitrarily choosen address in the list.

     Request: 13062

  .../Core/lib/Horde/Core/ActiveSync/Driver.php      |   12 +++++++++++-
  1 files changed, 11 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/2ac0bc92e3a8a4aab2b1c9f143a4eb0e80129ede
03/25/2014 11:03:26 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 246d8e824b4cb233f5d9af3ad99c47867a89ef2d
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue Mar 25 18:51:08 2014 -0400

     Support for PRIMARYSMTPADDRESS

     Request: 13062

  .../lib/Horde/ActiveSync/Request/Settings.php      |   13 +++++++++++++
  1 files changed, 13 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/246d8e824b4cb233f5d9af3ad99c47867a89ef2d
03/25/2014 06:40:08 AM Michael Rubinsky Comment #2 Reply to this comment
b) On EAS <14.1, either send only one SmtpAddress tag (corresponding 
to the default identity); or sort the SmtpAddress tags so that the 
default identity occurs last.
I'd rather only send the single SmtpAddress tag since the behavior the 
client is exhibiting isn't a documented feature of the protocol, from 
what I can tell.
03/20/2014 02:01:17 AM Michael Rubinsky State ⇒ Assigned
Assigned to Michael Rubinsky
 
03/19/2014 09:55:36 AM spamstop2 (at) terriertech (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Default SmtpAddress not identified in ActiveSync
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ Yes
New Attachment: smtpaddr.patch Download
State ⇒ Unconfirmed
Reply to this comment
When a SETTINGS command is received, ActiveSync sends SMTP addresses 
from the user's identities in the order they occur.

With EAS 12.1, WP7 updates the account on the phone with the last 
SmtpAddress tag it sees.  Thereafter, the "From" address on new mail 
is that of the last identity.  It should be that of the default 
identity.

Possible actions:

a) On EAS 14.1, send the "PrimaryStmpAddress" tag.

b) On EAS <14.1, either send only one SmtpAddress tag (corresponding 
to the default identity); or sort the SmtpAddress tags so that the 
default identity occurs last.

A rough patch to Horde 5.1.6 is attached.

Saved Queries