[horde] Updating mail status on phone via activesync
Michael Wisniewski
wisniewski at mwiz.org
Tue Apr 30 14:47:21 UTC 2013
Quoting Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Michael Wisniewski <wisniewski at mwiz.org>:
>
>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting Michael Wisniewski <wisniewski at mwiz.org>:
>>>
>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>
>>>>> Quoting Michael Wisniewski <wisniewski at mwiz.org>:
>>>>>
>>>>>> Quoting mrubinsk at horde.org:
>>>>>>
>>>>>>> Quoting Michael Wisniewski <wisniewski at mwiz.org>>
>>>>>>>> I have a Galaxy S3 phone sync'ed up through activesync to my
>>>>>>>> Horde install. When I receive a new message, my phone alerts
>>>>>>>> me with a new message. If read on the desktop and deleted,
>>>>>>>> my phone does not update the message status as "read" and/or
>>>>>>>> deleted. I have to physically go in and refresh the mailbox
>>>>>>>> on the phone.
>>>>>>>>
>>>>>>>> Is there an option in Horde that will allow it to update the
>>>>>>>> phone with the message status after it has been updated
>>>>>>>> through the web interface?
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Horde mailing list
>>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>>>>
>>>>>>> It will update automatically when a new email arrives in the
>>>>>>> mailbox (assuming the mailbox is being pushed).
>>>>>>>
>>>>>>> I think I'm probably going to allow mailboxes that support
>>>>>>> MODSEQ to trigger a sync on flag changes as well.
>>>>>>
>>>>>> I was wondering if there is a trick to get this to work. I
>>>>>> have push setup on the phone and it still does not seem to want
>>>>>> to update the status. I'm running the 5.1.0-git with the
>>>>>> 6.1.0-get version of imp.
>>>>>
>>>>> Sounds like your IMAP server does not support CONDSTORE or MODSEQ
>>>>> --
>>>>
>>>> I think I have dovecot configured to allow condstore.
>>>>
>>>> ----------
>>>> wisniewski at snoopy:~$ telnet localhost 143
>>>> Trying 127.0.0.1...
>>>> Connected to localhost.
>>>> Escape character is '^]'.
>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
>>>> ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
>>>> a login wisniewski <foo>
>>>> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
>>>> ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS
>>>> MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED
>>>> I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
>>>> CONTEXT=SEARCH LIST-STATUS COMPRESS=DEFLATE ACL RIGHTS=texk]
>>>> Logged in
>>>> b capability
>>>> * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND
>>>> UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1
>>>> CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH
>>>> LIST-STATUS COMPRESS=DEFLATE ACL RIGHTS=texk
>>>> b OK Capability completed.
>>>> ^]quit
>>>> ----------
>>>>
>>>>
>>>> This is what tells me condstore is running.....right? I don't
>>>> see modseq and a quick google search of modseq and dovecot hasn't
>>>> popped anything that easily tells me how to enable it.
>>>
>>> MODSEQ is part of the CONDSTORE extension, but some IMAP servers
>>> do not support (or do not enable support by default) for
>>> per-mailbox MODSEQ values.
>>>
>>> Dovecot, however, should work out of the box, and in fact this
>>> works fine for me here. I would need to see your logs to see what
>>> is going on for you.
>>>
>>>
>>> --
>>> mike
>>>
>>> The Horde Project (www.horde.org)
>>> mrubinsk at horde.org
>>
>> Mike,
>>
>> Is there a good place to put the logs? Can I send them directly to
>> you and then post the relevant contents here so it will help
>> others? Will the generic "mail_debug = yes" work with dovecot for
>> you?
>
> Just the activesync log. In fact, I really only am interested in the
> lines that start something like "Saving state for INBOX" or similar.
> I want to see what the message cache looks like.
>
I posted my activesync debug log here...
http://pastebin.com/Vv1gtRDF
At about 9:32:08, I sent a test message to myself and shortly after,
it alerted on the phone. At about 9:32:50-ish, I went into the web
interface and read and deleted the message. The message status never
updated on the phone after that.
Thanks!
More information about the horde
mailing list