Re: Delayed flags changes over IDLE

2019-03-13 Thread Kostya Vasilyev via dovecot
Timo, On Wed, Mar 13, 2019, at 9:36 AM, Kostya Vasilyev wrote: > Timo, > > On Wed, Mar 13, 2019, at 12:39 AM, Timo Sirainen wrote: >> On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot >> wrote: >>> >>> It makes no difference if the IDLE connection does SELECT or SELECT >>> (CONDSTORE)

Re: Delayed flags changes over IDLE

2019-03-13 Thread Kostya Vasilyev via dovecot
Timo, On Wed, Mar 13, 2019, at 12:39 AM, Timo Sirainen wrote: > On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot > wrote: >> >> It makes no difference if the IDLE connection does SELECT or SELECT >> (CONDSTORE) prior to going IDLE. >> >> But then as far as I know (?) - in Dovecot, once

Re: Delayed flags changes over IDLE

2019-03-12 Thread Timo Sirainen via dovecot
On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot wrote: > > It makes no difference if the IDLE connection does SELECT or SELECT > (CONDSTORE) prior to going IDLE. > > But then as far as I know (?) - in Dovecot, once any connection uses > CONDSTORE ever, even once, Dovecot creates data

Re: Delayed flags changes over IDLE

2019-03-12 Thread Kostya Vasilyev via dovecot
One more data point Timo: On Tue, Mar 12, 2019, at 9:58 AM, Kostya Vasilyev via dovecot wrote: > Timo, > > On Tue, Mar 12, 2019, at 3:56 AM, Timo Sirainen via dovecot wrote: >> On 10 Mar 2019, at 10.14, Kostya Vasilyev via dovecot >> wrote: >>> >>> My mail is stored under ~/mail/.imap (not

Re: Delayed flags changes over IDLE

2019-03-12 Thread Kostya Vasilyev via dovecot
Timo, On Tue, Mar 12, 2019, at 3:56 AM, Timo Sirainen via dovecot wrote: > On 10 Mar 2019, at 10.14, Kostya Vasilyev via dovecot > wrote: >> >> My mail is stored under ~/mail/.imap (not sure what this format is called), >> I mean not "single file mbox". >> >> I have not changed any IDLE

Re: Delayed flags changes over IDLE

2019-03-11 Thread Timo Sirainen via dovecot
On 10 Mar 2019, at 10.14, Kostya Vasilyev via dovecot wrote: > > My mail is stored under ~/mail/.imap (not sure what this format is called), I > mean not "single file mbox". > > I have not changed any IDLE related config settings: > > doveconf | grep -i idle > default_idle_kill = 1 mins >

Re: Delayed flags changes over IDLE

2019-03-11 Thread Kostya Vasilyev via dovecot
Aki, Please see below. On Mon, Mar 11, 2019, at 12:58 PM, Aki Tuomi via dovecot wrote: > > On 10.3.2019 10.14, Kostya Vasilyev via dovecot wrote: > > Hello, > > > > I'm experiencing slow flags changes over IMAP IDLE: > > > > - If I start an IDLE session / command > > - Change the flags of some

Re: Delayed flags changes over IDLE

2019-03-11 Thread Aki Tuomi via dovecot
On 10.3.2019 10.14, Kostya Vasilyev via dovecot wrote: > Hello, > > I'm experiencing slow flags changes over IMAP IDLE: > > - If I start an IDLE session / command > - Change the flags of some messages via another email app > - Dovecot can take a minute or more to notify the IDLE connection about

Re: Delayed flags changes over IDLE

2019-03-10 Thread Kostya Vasilyev via dovecot
Just tried running with mail_debug=yes and unfortunately can't see anything useful. It seems that flags changes (when set from clients) are not logged. Any way to debug this? Maybe it's intended behavior (to buffer up flags changes until later time, unless flushed with adding / removing