Latest Virtual Plugin changes seem to have broken flag changes: 2.2.devel (bf2fa36)
Hi,
I’m using several views like this:
# cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all
Before the recent changes read mail stayed in sync with the virtual folder. Now regardless whether mail is read in the original Folder or the virtual Folder, the flags are not synchronized anymore. Read mail is flagged unread in the corresponding folder.
Regards Thomas
On 21.07.2017 13:39, Thomas Leuxner wrote:
Hi,
I’m using several views like this:
# cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all
Before the recent changes read mail stayed in sync with the virtual folder. Now regardless whether mail is read in the original Folder or the virtual Folder, the flags are not synchronized anymore. Read mail is flagged unread in the corresponding folder.
Regards Thomas
I cannot repeat this.
a SELECT INBOX
- 1 EXISTS
- 1 RECENT
- OK [UNSEEN 1] First unseen. a SELECT Virtual/all
- 1 EXISTS
- 0 RECENT
- OK [UNSEEN 1] First unseen. a SELECT INBOX
- 1 EXISTS
- 0 RECENT
- OK [UNSEEN 1] First unseen. a STORE 1:1 +FLAGS (\Seen)
- 1 FETCH (FLAGS (\Seen)) a OK Store completed (0.001 + 0.000 secs). a SELECT Virtual/all
- 1 EXISTS
- 0 RECENT a FETCH 1:* (FLAGS)
- 1 FETCH (FLAGS (\Seen))
Aki
On 21.07.2017 14:43, Thomas Leuxner wrote:
- Aki Tuomi <aki.tuomi@dovecot.fi> 2017.07.21 12:53:
I cannot repeat this. Hi Aki,
a bit hard for me to debug speaking protocol, but I can definitely reproduce it with multiple MUAs.
Regards Thomas
You can just turn on rawlogs
protocol imap { rawlog_dir = /tmp/rawlogs/%Lu }
and mkdir /tmp/rawlogs/your-username-in-lowercase chmod 0777 /tmp/rawlogs/your-username-in-lowercase
Aki
- Aki Tuomi <aki.tuomi@dovecot.fi> 2017.07.21 13:45:
Hi Aki and Timo,
I'm still monitoring the flag sync. Appears https://github.com/dovecot/core/commit/88b2ef52690acf66a925e2470331a9cc7c4cd... has done the trick.
Will confirm once I have more evidence.
Regards Thomas
- Thomas Leuxner <tlx@leuxner.net> 2017.07.24 14:41:
https://github.com/dovecot/core/commit/88b2ef52690acf66a925e2470331a9cc7c4cd...
It looks like it only partially fixes the problem. If messages get read in a virtual mailbox they sync to the "original" mailbox. Changes to the "original" mailbox only seem to sync when new mail arrives to this mailbox where the flags then get updated in the virtual mailbox.
Thomas
- Thomas Leuxner <tlx@leuxner.net> 2017.07.25 08:27:
https://github.com/dovecot/core/commit/f39bde1e1fb00905b71a4f2a793faea4b915e...
This finally fixed the issue, I guess along with the other changes that have been previously submitted. Thanks!
participants (2)
-
Aki Tuomi
-
Thomas Leuxner