[Dovecot] Numpty question about EXISTS...

Timo Sirainen tss at iki.fi
Sun Oct 16 18:41:50 EEST 2005


On Tue, 2005-10-11 at 18:29 +0100, Steve [Dovecot] wrote:
> I've been lead to believe that I can use the "EXISTS" response to 
> trigger the 'new message present in IMAP folder" event in my program... 
> but I don't seem to receive them when I would expect to when connected 
> to my Dovecot server.  I get one "EXISTS" message when I call "select" - 
> but that's it - it doesn't seem to notice when another client moves 
> messages in/out of the folder.  Are my assumptions about IMAP incorrect 
> - i.e. must I still poll?  Can Dovecot be configured to send EXIST 
> responses (or any other form of notification) when messages are moved 
> into a folder?

Run "IDLE" command. Also note that you'll have to break out of it every
29 minutes and start it again or Dovecot disconnects you because of
idling too long. Maybe see RFC 2177 also about how IDLE is supposed to
be used.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051016/2220007f/attachment.pgp


More information about the dovecot mailing list