[Dovecot] IMAP IDLE goes to sleep

Julian Cowley julian+dovecot at lava.net
Wed Jun 27 13:31:19 EEST 2007


On Sun, 24 Jun 2007, Julian Cowley wrote:
> * OK Still here
> * OK Still here
> * OK Still here
> * OK Still here
> * OK Still here
>
> [The above message repeated another 30 times here.  Finally, IDLE
> mode is terminated:]
>
> * OK Still here
> DONE
> * 7941 EXPUNGE
> A0017 OK Idle completed.

I think I've found an additional data point on this problem.  Every
time I notice that there hasn't been update in some time, terminating
IDLE mode always results in an EXPUNGE message.  I don't know what is
doing an expunge on a single message (and I'm not doing an expunge in
any of my mail clients).  I can only assume this might have something
to do with Dovecot sieve addflag (this is just a guess), as all of the
messages I've seen so far listed as being expunged instantly reappear
with an explicit or implied EXISTS and have an IMAP flag on them.

Hope this helps.

[Please refer to my original message to see the entire protocol trace.]

ps. I haven't tried a kernel that has inotify yet, but I'll try that next 
and/or turning off any addflag statements in .dovecot.sieve.


More information about the dovecot mailing list