[Dovecot] needing UNSELECT to notice new mail?
Greg Troxel
gdt at ir.bbn.com
Thu May 24 16:51:30 EEST 2007
Timo Sirainen <tss at iki.fi> writes:
> Note: The STATUS command is intended to access the
> status of mailboxes other than the currently selected
> mailbox. Because the STATUS command can cause the
> mailbox to be opened internally, and because this
> information is available by other means on the selected
> mailbox, the STATUS command SHOULD NOT be used on the
> currently selected mailbox.
>
> Right. What I said. You don't need it.
>
> The STATUS command MUST NOT be used as a "check for new
> messages in the selected mailbox" operation (refer to
> sections 7, 7.3.1, and 7.3.2 for more information about
> the proper method for new message checking).
>
> So gnus is breaking a "MUST NOT" from the RFC.
Thanks. I've pointed the gnus list at your message and suggested that
the unselect-before-checking variable be set to t by default.
More information about the dovecot
mailing list