Delayed flags changes over IDLE
Kostya Vasilyev
kman at fastmail.com
Sun Mar 10 22:33:51 EET 2019
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 messages)?
If it is working as intended, is there a setting to tune down the delay?
--
Kostya Vasilyev
kman at fastmail.com
On Sun, Mar 10, 2019, at 11:15 AM, 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
> flags changes
>
> If I use another email app to add or remove a message, Dovecot sends
> that (EXISTS / EXPUNGE) instantly and also flushes the (so far delayed)
> flags changes. So it does "know" already.
>
> The system is Debian Testing, 64 bit, file system is ext4.
>
> Dovecot is 2.3.4.1 (f79e8e7e4) - I believe from Debian repos (I had
> Dovecot's own repo added at some point, disabled now).
>
> 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
> director_ping_idle_timeout = 30 secs
> imap_idle_notify_interval = 2 mins
> imapc_max_idle_time = 29 mins
> mailbox_idle_check_interval = 30 secs
>
> What can I do to make Dovecot notify IDLE clients about flags changes -
> more quickly? Preferably near-instant?
>
> --
> Kostya Vasilyev
> kman at fastmail.com
>
More information about the dovecot
mailing list