$OpenBSD: patch-src_imap_cmd-status_c,v 1.2 2005/02/12 12:17:07 brad Exp $
--- src/imap/cmd-status.c.orig	Thu Sep  2 11:00:10 2004
+++ src/imap/cmd-status.c	Fri Oct  1 02:39:59 2004
@@ -57,7 +57,10 @@ static int get_mailbox_status(struct cli
 	} else {
 		/* open the mailbox */
 		box = client->storage->open_mailbox(client->storage,
-						    mailbox, TRUE, TRUE);
+						    mailbox,
+						    mailbox_open_flags |
+						    MAILBOX_OPEN_FAST |
+						    MAILBOX_OPEN_READONLY);
 		if (box == NULL)
 			return FALSE;
 	}
