[horde] AS email not current

Michael J Rubinsky mrubinsk at horde.org
Mon Mar 4 01:05:56 UTC 2013


Quoting Simon Wilson <simon at simonandkate.net>:

>> Quoting Simon Wilson <simon at simonandkate.net>:
>>
>>>>> On 02/03/2013 4:22 AM, Simon Wilson wrote:
>>>>>> But if I delete emails in Imp, the deleted messages are not  
>>>>>> sync'ed, and those emails continue to show in the iOS devices
>>>>>
>>>>> http://wiki.horde.org/ActiveSync
>>>>>
>>>>> "Deleting from a MUA: If the MUA is not configured to move  
>>>>> messages to the trash, and instead just flags them as deleted,  
>>>>> these message deletions will NOT be synched to the ActiveSync  
>>>>> client, as there is no equivalent command in the protocol. These  
>>>>> messages will only be removed from the ActiveSync client once  
>>>>> expunged from the mailbox. This is in accordance with the  
>>>>> ActiveSync protocol specs.
>>>>>
>>>>> *If you wish to ensure all message deletions are synched quickly  
>>>>> to the device, you should configure the use of a Trash folder.*"
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>
>>>> As per my other reply, Imp is configured to move to trash folder,  
>>>> and purge from Inbox.
>>>>
>>>> It does not just flag as deleted.
>>>>
>>>> Simon
>>>> --
>>>
>>> OK - did an experiment... deleting an email on the same iOS device  
>>> in Apple Mail (via a direct IMAP connection), and the resultant  
>>> sync back to the AS email connection removes the deleted email  
>>> correctly.
>>>
>>> Delete an email in Imp and it does not.
>>>
>>> My Imp's mail deletion prefs are set as per following screen shot:
>>>
>>> http://www.simonandkate.net/impprefs.png
>>>
>>> So what is happening in Imp that it is not flagging those  
>>> deletions back through AS?
>>
>> Not sure. Those settings are correct.
>> --
>> mike
>>
>
> :( troubleshooting suggestions?
>
> If I empty the AS log, delete an email in Imp, and post the sync log  
> will that help?

I doubt it, though I'll look at it if you send it me. The device is  
not being told to remove the email, so it won't be in the log.

> What about Imap log for the delete transaction?

Not really. The email is obviously being removed from your INBOX since  
you no longer see it in IMP (or other MUA).

> What is the process that a delete triggers?

This happens in one of two ways depending on the features of your IMAP  
server. If you don't support CONDSTORE or per-mailbox MODSEQ values  
(which, if I remember right from looking at your log, is your case) -  
we basically compare the UID list that we have cached in the  
ActiveSync state with what the IMAP server returns as being present in  
the mailbox. Anything not listed in the IMAP server's list of UIDs,  
but present in the ActiveSync list is removed from the device.



> Does AS care WHERE the email is deleted to? I have Cyrus IMAP with a  
> "Deleted Items" folder that Imp calls Trash, seems to function fine.  
> Should I be using virtual trash in Imp?

It doesn't matter. From the point of view of ActiveSync, the message  
is just vanished from the INBOX (or whatever folder we are talking  
about). Adding it to the Deleted Items/Trash/Whatever folder is a  
separate operation.



-- 
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/horde/attachments/20130303/848f76b6/attachment.bin>


More information about the horde mailing list