On Sun, 2007-08-12 at 17:20 +0200, Michael Guntsche wrote:
Hi,
I recently switched from courier imap to dovecot. With courier I had
a working IDLE setup that informed me immediately when new mail
arrived. With Dovecot it is different, sometimes i get an immediate
result but most of the time it takes a rather long time for the
notification to return to the client. For testing purposes I set mailbox_idle_check_interval = 1 and i now
get the same behaviour as with couier (a new mail immediately causes
a notification) but i am not sure that this is the right solution.
Reading the comments in the config files I was under the impression
that this is not needed if dovecot uses inotify.
What IMAP client do you use? Currently Dovecot works like:
- IDLE starts
- if maildir changes, the new changes are reported immediately
- if client doesn't break from IDLE, continue..
- if maildir changes before maildir_idle_check_interval seconds, wait
This works nicely if client breaks from IDLE, but it looks like nowadays some clients just use multiple connections where one is always in IDLE. So maybe I'll have to change that.