[Dovecot] checking all folders for new mail (IMAP STATUS command)

Florian Effenberger
2009-12-28T13:30:14Z

Hello,

I use Thunderbird as IMAP client and do a lot of server-side filtering
with Sieve scripts. To be notified of new mails, I want to check all
folders (a lot of them...) at once for new mails, and not only the
inbox.

According to
http://kb.mozillazine.org/Checking_for_new_messages_in_other_folders_-_Thunderbird
it should be sufficient to enable one setting -- given that the IMAP
server returns the STATUS command correctly. I still run Dovecot 1.0
(from Debian 4.0), and it seems this version doesn't support the IMAP
STATUS command, as I have to explictly query each folder with the
second mentioned setting.

What is the recommended way of checking all folders for new mails? Is
there any server-side setting I can activate? Do newer versions of
Dovecot support the STATUS command in the way Thunderbird expects it?
Or does Dovecot even offer an option like the mentioned
IMAP_CHECK_ALL_FOLDERS=1 and IMAP_ENHANCEDIDLE=1 in Courier?

Sorry for my maybe dumb question... :-)

Thanks,
Florian