Dovecot seems to manage \Recent messages in a weird way. When a STATUS command is performed in a mailbox, then the \Recent flag of its messages disappear and latter STATUS commands report that there are no recent messagges.
I don't know exactly the behavior of the RFC. But other imap servers (UW-imapd, Netscape Messenger...) report the same number of recent messages when two STATUS commands are performed together.
-- Jaime.
On Sun, 2003-02-02 at 19:18, Jaime Medrano wrote:
Dovecot seems to manage \Recent messages in a weird way. When a STATUS command is performed in a mailbox, then the \Recent flag of its messages disappear and latter STATUS commands report that there are no recent messagges.
Whops, fixed. Index: src/imap/cmd-status.c =================================================================== RCS file: /home/cvs/dovecot/src/imap/cmd-status.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/imap/cmd-status.c 10 Jan 2003 11:02:10 -0000 1.9 +++ src/imap/cmd-status.c 3 Feb 2003 05:11:16 -0000 1.10 @@ -65,7 +65,7 @@ } else { /* open the mailbox */ box = client->storage->open_mailbox(client->storage, - mailbox, FALSE, TRUE); + mailbox, TRUE, TRUE); if (box == NULL) return FALSE; }
participants (2)
-
Jaime Medrano
-
Timo Sirainen