<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">It makes no difference if the IDLE connection does SELECT or SELECT (CONDSTORE) prior to going IDLE.</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">But then as far as I know (?) - in Dovecot, once any connection uses CONDSTORE ever, even once, Dovecot creates data structures to track MODSEQ values, and those data structures are forever.<br class=""></div></div></blockquote><br class=""></div><div>So are you saying that you can reproduce if you do for a completely new user:</div><div><br class=""></div><div>doveadm exec imap -u testuser1</div><div>a select inbox</div><div>b idle</div><div><br class=""></div><div>And then run:</div><div>echo foo | doveadm save -u testuser1</div><div>doveadm flags add -u testuser1 '\Seen' mailbox inbox 1</div><div><br class=""></div><div>And the EXISTS shows up immediately after saving, but the flag change won't show up? It works fine with me.</div><div><br class=""></div><div>Do you see any errors in "doveadm log errors"? Can you reproduce this if you try with some other mailbox format than mbox?</div><div><br class=""></div></body></html>