[dev] Found an email that breaks activesync

Michael J Rubinsky mrubinsk at horde.org
Sat Nov 10 19:46:53 UTC 2012


Quoting Brent <impuser at bitrealm.com>:

> Quoting mrubinsk at horde.org:
>
>> Quoting Brent <impuser at bitrealm.com>>
>>> Quoting mrubinsk at horde.org:
>>>
>>>> Quoting Brent <impuser at bitrealm.com>>
>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>
>>>>>> Quoting Brent <impuser at bitrealm.com>:
>>>>>>
>>>>>>> Here's a message that breaks a users ActiveSync.  If you  
>>>>>>> remove it from the Inbox, ActiveSync works.  When you put it  
>>>>>>> back, ActiveSync breaks.
>>>>>>>
>>>>>>> http://www.bitrealm.com/misc/activesync/broke-email
>>>>>>>
>>>>>>> Again, sorry for going off-list, but I should not post this in  
>>>>>>> the groups.  This is standard email format.
>>>>>>>
>>>>>>> It works if you set the phone to use Imap instead of  
>>>>>>> ActiveSync, and the Horde UI doesn't have a problem with it.
>>>>>>
>>>>>> I have no problems syncing this email with ActiveSync...
>>>>>>
>>>>>
>>>>> I created a new user, then moved this email into their Inbox and  
>>>>> ActiveSync breaks.
>>>>>
>>>>> I've included the sync log with this message in the Inbox.  I'm  
>>>>> usind dovecot as the Imap server.  Again, the email  
>>>>> works/displays fine in the Horde UI.
>>>>>
>>>>> brent
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> No attachment...
>>>>
>>>
>>> Sending attachment again.
>>>
>>> brent
>>>
>>>
>>>
>>>
>> The log doesn't show thing wrong that I can see. I tested locally  
>> on two android devices and an iPad. All worked fine.
>>
>> I'm not sure if the ipad was ios 5 or 6 though, so will test again  
>> against another ios 6 device later. Not really sure what to test  
>> though, as the data being sent looks ok.
>>
>
> In the log, I see the message listed three times.  Why is that?  I can
> try an iPad too...it is the latest one that I THINK shipped with ios 6.
> Though, the iphone is ios 5, as I recall.  I can verify.  It is interesting
> that only this message has a problem.  I'll see if the sender can re-send
> a new message and see what happens.

The device keeps sending a synckey of zero, which tells the server to  
reset the state of the device, so it sends the same data over and over  
again until the device stops requesting it. In this case, your device  
attempts three times before it gives up.

Looking at the log some more, it's not just that it doesn't like the  
data - since it should be requesting the previous synckey in that case  
(the one that ends in a one). It looks like the client is crashing,  
causing it to forget all the state it has. Really not sure what would  
be causing that. The email works on all of my test devices including  
iOS 5 and 6.

Unless you can figure out what part of the data your device is  
crashing on, there's not much I can do I'm afraid.
-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/dev/attachments/20121110/9f7a0082/attachment.bin>


More information about the dev mailing list