Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

IMAP flags not synced #275

Open
kitserve opened this issue Jun 14, 2016 · 5 comments
Open

IMAP flags not synced #275

kitserve opened this issue Jun 14, 2016 · 5 comments

Comments

@kitserve
Copy link

When using the IMAP backend, flags are apparently ignored by Z-Push. For example, flagging a message in Roundcube means that the flag is visible in Thunderbird, and vice versa. However, when flagging a message on a Windows Phone or iOS device, the flag doesn't show on any device except the one the flag was originally created on. Conversely, if a message was flagged using Roundcube or Thunderbird, the flag doesn't appear when viewing the message on Windows Phone or iOS. I know flagging works successfully with the Zarafa backend, just not IMAP. I'm aware that Zarafa natively supports coloured flags, whereas ActiveSync and IMAP only have flagged or unflagged messages.

Underlying IMAP server in my case is Dovecot 2.2, with messages stored in Maildir format. When a message is flagged via Roundcube I can see the message file on disk being renamed, e.g. 1465916987.30438_2.host:2,S becomes 1465916987.30438_2.host:2,FS. The same isn't true when flagging via Windows Phone or iOS over ActiveSync.

@m3nu
Copy link

m3nu commented Aug 16, 2016

Sometimes you need 2 tries to get a message flagged, but in general it works.

Do you say it doesn't work for you at all? I have the same setup as you.

@kitserve
Copy link
Author

I no longer have a Windows Phone to test with so I can't comment on that, but I'm still having trouble on iOS. Following your suggestion I have been able to get flags set on iOS to appear on Roundcube by flagging, unflagging and then re-flagging an item. What I haven't been able to do is get flags to disappear in Roundcube by unflagging in iOS, or flags set in Roundcube to appear in iOS. Perhaps it can be down with multiple attempts, but that isn't exactly desirable. I use flags to keep track of which emails need following up and it's annoying to say the least if I have to check for them on all three of my phone, tablet and Roundcube, depending on where the flag was originally set.

@basbebe
Copy link

basbebe commented Jan 3, 2017

I also see this behaviour.
Maybe related to #241 ?

@sdondley
Copy link

I have this issue running on Debian Buster which uses z-push v. 2.4.5. There does not appear to be any backport package of z-push for Debian.

Wondering what options might be available to get this fixed.

@sdondley
Copy link

OK, following the conversation here: https://forum.kopano.io/topic/3269/imap-followup-flag-with-backendcombined/19 I found two patches at:

Z-Hub/Z-Push@e949ad7#diff-f19d393f43f8d9cb06d75aec94459e675681ec15e65baf8a20abe6d1450ba3a9

and:

Z-Hub/Z-Push@76c42c8

Applying these patches seemed to do the trick. WARNING: this is with very limited testing and applying these patches alone may have unintended consequences. You'll definitely not want to apply these patches to any critical production server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants