[dovecot] Re: Recent messages

Timo Sirainen tss at iki.fi
Mon Feb 3 07:12:47 EET 2003


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;
        }




More information about the dovecot mailing list