[horde] Identify for ActiveSync

Michael J Rubinsky mrubinsk at horde.org
Sat Jun 12 17:01:10 UTC 2021


Quoting Volker Jordan <mx at e24.cx>:

>> -----Original Message-----
>> From: horde <horde-bounces at lists.horde.org> On Behalf Of Michael J
>> Rubinsky
>> Sent: Montag, 31. Mai 2021 18:29
>> To: horde at lists.horde.org; Michael J Rubinsky <mrubinsk at horde.org>
>> Subject: Re: [horde] Identify for ActiveSync
>>
>>
>> Quoting Volker Jordan <mx at e24.cx>:
>>
>> > Hi,
>> >
>> > I have identified a strange scenario and wonder whether this is a bug or
>> not.
>> >
>> > I use two email addresses for my regular conversations and therefore
>> > created two identities.
>> >
>> > A Firstname Lastname email1 at test.com
>> >
>> > B Firstname Lastname email2‎@test.com
>> >
>> > To let the ActiveSync device choose which email to use for outbound
>> > emails, I left the email address empty in the default identify. ‎The
>> > default identify only has Firstname and Lastname defined.
>> >
>> > This setup works with one tiny exception, which is that the
>> > Firstname and Lastname are not ‎passed over. It only works if I dont
>> > have any other identities defined.
>> >
>> > Is this working as expected?
>>
>> If I understand your question correctly, you have 3 identities in
>> Horde - one for email1, one for email2, and one with no email but
>> FirstName LastName. This last identity is the one you have configured
>> as the ActiveSync identity?
>>
>
> yes, the third one is the 'Default Identity'
>
>> What exactly are you seeing? Where exactly is FirstName/LastName not
>> showing where you expect?
>>
>
> In the From: header of the email
>
>> What version of EAS is being used? What device/activesync client?
>>
>
> 14.1. It happens for all my devices. A Blackberry Passport and an  
> iPhone SE. All with latest OS.
>
>> Can you provide a sync log? Ideally one showing a SETTINGS command?
>>
>
> Below some lines of the log. First part is where the "Identity to  
> use when sending email via ActiveSync" setting is on one of the  
> identities with an email address.

Unfortunately it doesn't appear we can do anything about this, as it's  
the client that is building that header. My guess is that if the  
identity information sent during either initial pairing or during a  
subsequent SETTINGS request doesn't contain an email address, the  
FirstName/LastName don't get mapped anywhere in the client's settings.



> <POOMMAIL:From>
> Volker Jordan <mx at e24.cx>
> </POOMMAIL:From>
> Last part is with the default identity without an email address
> <POOMMAIL:From>
> mx at e24.cx
> </POOMMAIL:From>
>
> [22341][2021-06-01T10:44:39+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> jordan----------
> [22341][2021-06-01T10:44:39+02:00] INFO: ----------SENDMAIL request  
> received for user jordan
> [22341][2021-06-01T10:44:39+02:00] >>>: STATE: Device entry exists  
> for BBXXXXXXX, updating userAgent, version, and supported.
> [22341][2021-06-01T10:44:39+02:00] INFO: ----------Request being  
> handled for device: BBXXXXXXX, of type: BlackBerry, supporting  
> protocol version: 14.1, using Horde_ActiveSync v2.41.5
> [22341][2021-06-01T10:44:39+02:00] >>>: GET VARIABLES: Array
> (
>     [Cmd] => SendMail
>     [DeviceType] => BlackBerry
>     [User] => jordan
>     [DeviceId] => BBXXXXXXX
> )
>
> [22341][2021-06-01T10:44:39+02:00] >>>: ----------Device data:  
> a:8:{s:8:"rwstatus";i:0;s:10:"deviceType";s:10:"BlackBerry";s:9:"userAgent";s:33:"RIM-Passport-SQW100-1/10.3.3.3216";s:2:"id";s:10:"BBXXXXXXX";s:4:"user";s:6:"jordan";s:9:"supported";b:0;s:9:"policykey";i:0;s:10:"properties";a:14:{s:16:"announcedVersion";s:23:"2.5,12.0,12.1,14.0,14.1";s:9:"userAgent";s:33:"RIM-Passport-SQW100-1/10.3.3.3216";s:7:"version";s:4:"14.1";s:7:"blocked";N;s:9:"multiplex";i:0;s:14:"Settings:Model";s:17:"Passport SQW100-1";s:13:"Settings:IMEI";s:15:"xxxxxxxxxxxxxxx";s:21:"Settings:FriendlyName";s:19:"BlackBerry Passport";s:11:"Settings:OS";s:13:"BlackBerry  
> 10";s:19:"Settings:OSLanguage";s:5:"en_GB";s:20:"Settings:PhoneNumber";s:0:"";s:18:"Settings:UserAgent";s:33:"RIM-Passport_SQW100-1/10.3.3.3216";s:23:"Settings:MobileOperator";s:0:"";s:26:"Settings:EnableOutboundSMS";s:0:"";}}
> [22341][2021-06-01T10:44:39+02:00] >>>: Handling SENDMAIL command with Wbxml.
> [22341][2021-06-01T10:44:39+02:00] I: <ComposeMail:SendMail>
> [22341][2021-06-01T10:44:39+02:00] I:  <ComposeMail:ClientId>
> [22341][2021-06-01T10:44:39+02:00] I:    1620045045-958
> [22341][2021-06-01T10:44:39+02:00] I:  </ComposeMail:ClientId>
> [22341][2021-06-01T10:44:39+02:00] I:  <ComposeMail:SaveInSentItems />
> [22341][2021-06-01T10:44:39+02:00] I:  <ComposeMail:MIME>
> [22341][2021-06-01T10:44:39+02:00] I:    [675 bytes of content]
> [22341][2021-06-01T10:44:39+02:00] I:  </ComposeMail:MIME>
> [22341][2021-06-01T10:44:39+02:00] I: </ComposeMail:SendMail>
> [22341][2021-06-01T10:44:40+02:00] >>>: Message-ID:  
> '<20210601084439.5169235.39234.958 at e24.cx>' successfully sent.
> [22341][2021-06-01T10:44:40+02:00] >>>: Preparing to copy  
> Message-ID: '<20210601084439.5169235.39234.958 at e24.cx>' to 'Sent'.
> [22341][2021-06-01T10:44:40+02:00] >>>: Message-ID:  
> '<20210601084439.5169235.39234.958 at e24.cx>' appended to 'Sent'.
> [22341][2021-06-01T10:44:40+02:00] >>>: Logging recipients for RI.
> [22341][2021-06-01T10:44:40+02:00] INFO: Maximum memory usage for  
> ActiveSync request: 2097152 bytes.
> [22341][2021-06-01T10:44:41+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> jordan----------
> [22341][2021-06-01T10:44:41+02:00] INFO: ----------SYNC request  
> received for user jordan
> [22341][2021-06-01T10:44:41+02:00] >>>: STATE: Device entry exists  
> for BBXXXXXXX, updating userAgent, version, and supported.
> [22341][2021-06-01T10:44:41+02:00] INFO: ----------Request being  
> handled for device: BBXXXXXXX, of type: BlackBerry, supporting  
> protocol version: 14.1, using Horde_ActiveSync v2.41.5
> [22341][2021-06-01T10:44:41+02:00] >>>: GET VARIABLES: Array
> (
>     [Cmd] => Sync
>     [DeviceType] => BlackBerry
>     [User] => jordan
>     [DeviceId] => BBXXXXXXX
> )
>
>
> [22341][2021-06-01T10:44:41+02:00] >>>:  
> Horde_Core_ActiveSync_Driver::getMessage(Sent, 40)
> [22341][2021-06-01T10:44:41+02:00] >>>: Building MIME Message.
> [22341][2021-06-01T10:44:41+02:00] >>>: Checking MIMETRUNCATION: 0,  
> ServerData: 312
> [22341][2021-06-01T10:44:41+02:00] >>>: Fetching verb for  
> <20210601084439.5169235.39234.958 at e24.cx>.
> [22341][2021-06-01T10:44:41+02:00] O:    <Commands>
> [22341][2021-06-01T10:44:41+02:00] O:     <Add>
> [22341][2021-06-01T10:44:41+02:00] O:      <ServerEntryId>
> [22341][2021-06-01T10:44:41+02:00] O:       40
> [22341][2021-06-01T10:44:41+02:00] O:      </ServerEntryId>
> [22341][2021-06-01T10:44:41+02:00] O:      <Data>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:To>
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:To>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:From>
> [22341][2021-06-01T10:44:41+02:00] O:        Volker Jordan <mx at e24.cx>
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:From>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:Subject>
> [22341][2021-06-01T10:44:41+02:00] O:        Test horde
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:Subject>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:Reply-To>
> [22341][2021-06-01T10:44:41+02:00] O:        Volker Jordan <mx at e24.cx>
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:Reply-To>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:DateReceived>
> [22341][2021-06-01T10:44:41+02:00] O:        2021-06-01T08:44:39.000Z
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:DateReceived>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:DisplayTo>
> [22341][2021-06-01T10:44:41+02:00] O:        Volker Jordan
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:DisplayTo>
> [22341][2021-06-01T10:44:41+02:00] O:       <POOMMAIL:ThreadTopic>
> [22341][2021-06-01T10:44:41+02:00] O:        Test horde
> [22341][2021-06-01T10:44:41+02:00] O:       </POOMMAIL:ThreadTopic>
>
>
> [22336][2021-06-01T10:46:20+02:00] NOTICE: COLLECTIONS: Skipping  
> Fd4fe4f76 because it is not PINGable.
> [22336][2021-06-01T10:46:20+02:00] INFO: ----------COLLECTIONS:  
> Sleeping for 15 seconds.
> [25883][2021-06-01T10:46:20+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> jordan----------
> [25883][2021-06-01T10:46:20+02:00] INFO: ----------SENDMAIL request  
> received for user jordan
> [25883][2021-06-01T10:46:20+02:00] >>>: STATE: Device entry exists  
> for BBXXXXXXX, updating userAgent, version, and supported.
> [25883][2021-06-01T10:46:20+02:00] INFO: ----------Request being  
> handled for device: BBXXXXXXX, of type: BlackBerry, supporting  
> protocol version: 14.1, using Horde_ActiveSync v2.41.5
> [25883][2021-06-01T10:46:20+02:00] >>>: GET VARIABLES: Array
> (
>     [Cmd] => SendMail
>     [DeviceType] => BlackBerry
>     [User] => jordan
>     [DeviceId] => BBXXXXXXX
> )
>
> [25883][2021-06-01T10:46:20+02:00] >>>: ----------Device data:  
> a:8:{s:8:"rwstatus";i:0;s:10:"deviceType";s:10:"BlackBerry";s:9:"userAgent";s:33:"RIM-Passport-SQW100-1/10.3.3.3216";s:2:"id";s:10:"BBXXXXXXX";s:4:"user";s:6:"jordan";s:9:"supported";b:0;s:9:"policykey";i:0;s:10:"properties";a:14:{s:16:"announcedVersion";s:23:"2.5,12.0,12.1,14.0,14.1";s:9:"userAgent";s:33:"RIM-Passport-SQW100-1/10.3.3.3216";s:7:"version";s:4:"14.1";s:7:"blocked";N;s:9:"multiplex";i:0;s:14:"Settings:Model";s:17:"Passport SQW100-1";s:13:"Settings:IMEI";s:15:"xxxxxxxxxxxxxxx";s:21:"Settings:FriendlyName";s:19:"BlackBerry Passport";s:11:"Settings:OS";s:13:"BlackBerry  
> 10";s:19:"Settings:OSLanguage";s:5:"en_GB";s:20:"Settings:PhoneNumber";s:0:"";s:18:"Settings:UserAgent";s:33:"RIM-Passport_SQW100-1/10.3.3.3216";s:23:"Settings:MobileOperator";s:0:"";s:26:"Settings:EnableOutboundSMS";s:0:"";}}
> [25883][2021-06-01T10:46:20+02:00] >>>: Handling SENDMAIL command with Wbxml.
> [25883][2021-06-01T10:46:20+02:00] I: <ComposeMail:SendMail>
> [25883][2021-06-01T10:46:20+02:00] I:  <ComposeMail:ClientId>
> [25883][2021-06-01T10:46:20+02:00] I:    1620045045-960
> [25883][2021-06-01T10:46:20+02:00] I:  </ComposeMail:ClientId>
> [25883][2021-06-01T10:46:20+02:00] I:  <ComposeMail:SaveInSentItems />
> [25883][2021-06-01T10:46:20+02:00] I:  <ComposeMail:MIME>
> [25883][2021-06-01T10:46:20+02:00] I:    [678 bytes of content]
> [25883][2021-06-01T10:46:20+02:00] I:  </ComposeMail:MIME>
> [25883][2021-06-01T10:46:20+02:00] I: </ComposeMail:SendMail>
> [25883][2021-06-01T10:46:21+02:00] >>>: Message-ID:  
> '<20210601084620.5169235.25572.960 at e24.cx>' successfully sent.
> [25883][2021-06-01T10:46:21+02:00] >>>: Preparing to copy  
> Message-ID: '<20210601084620.5169235.25572.960 at e24.cx>' to 'Sent'.
> [25883][2021-06-01T10:46:21+02:00] >>>: Message-ID:  
> '<20210601084620.5169235.25572.960 at e24.cx>' appended to 'Sent'.
> [25883][2021-06-01T10:46:21+02:00] >>>: Logging recipients for RI.
> [25883][2021-06-01T10:46:21+02:00] INFO: Maximum memory usage for  
> ActiveSync request: 2097152 bytes.
> [25883][2021-06-01T10:46:21+02:00] INFO:  
> ----------Horde_Core_ActiveSync_Driver::authenticate() attempt for  
> jordan----------
> [25883][2021-06-01T10:46:22+02:00] INFO: ----------SYNC request  
> received for user jordan
> [25883][2021-06-01T10:46:22+02:00] >>>: STATE: Device entry exists  
> for BBXXXXXXX, updating userAgent, version, and supported.
> [25883][2021-06-01T10:46:22+02:00] INFO: ----------Request being  
> handled for device: BBXXXXXXX, of type: BlackBerry, supporting  
> protocol version: 14.1, using Horde_ActiveSync v2.41.5
> [25883][2021-06-01T10:46:22+02:00] >>>: GET VARIABLES: Array
> (
>     [Cmd] => Sync
>     [DeviceType] => BlackBerry
>     [User] => jordan
>     [DeviceId] => BBXXXXXXX
> )
>
>
> [25883][2021-06-01T10:46:22+02:00] >>>:  
> Horde_Core_ActiveSync_Driver::getMessage(Sent, 41)
> [25883][2021-06-01T10:46:22+02:00] >>>: Building MIME Message.
> [25883][2021-06-01T10:46:22+02:00] >>>: Checking MIMETRUNCATION: 0,  
> ServerData: 312
> [25883][2021-06-01T10:46:22+02:00] >>>: Fetching verb for  
> <20210601084620.5169235.25572.960 at e24.cx>.
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:From>
> [25883][2021-06-01T10:46:22+02:00] O:        mx at e24.cx
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:From>
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:Subject>
> [25883][2021-06-01T10:46:22+02:00] O:        Test default
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:Subject>
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:Reply-To>
> [25883][2021-06-01T10:46:22+02:00] O:        mx at e24.cx
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:Reply-To>
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:DateReceived>
> [25883][2021-06-01T10:46:22+02:00] O:        2021-06-01T08:46:20.000Z
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:DateReceived>
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:DisplayTo>
> [25883][2021-06-01T10:46:22+02:00] O:        Volker Jordan
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:DisplayTo>
> [25883][2021-06-01T10:46:22+02:00] O:       <POOMMAIL:ThreadTopic>
> [25883][2021-06-01T10:46:22+02:00] O:        Test default
> [25883][2021-06-01T10:46:22+02:00] O:       </POOMMAIL:ThreadTopic>
>
>> It's possible that the client doesn't attach the firstname/lastname to
>> an identity since there is no corresponding email address for it.
>>
>>
>> >
>> >
>> >
>> > Regards
>> >
>> > Volker
>> >
>> >



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20210612/ca817f29/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20210612/ca817f29/attachment.sig>


More information about the horde mailing list