36924d2ef1
The Cyrus IMAP server differs from other IMAP server implementations in that it is generally intended to be run on sealed servers, where normal users are not permitted to log in. The mailbox database is stored in parts of the filesystem that are private to the Cyrus IMAP system. All user access to mail is through the IMAP, POP3, or KPOP protocols. From Antoine Jacoutot <ajacoutot@lphp.org> help & ok naddy@, thanks!
18 lines
480 B
Plaintext
18 lines
480 B
Plaintext
$OpenBSD: patch-imap_index_c,v 1.1.1.1 2005/03/27 18:01:50 alek Exp $
|
|
--- imap/index.c.orig Sat Jan 22 02:44:35 2005
|
|
+++ imap/index.c Sat Jan 22 03:10:14 2005
|
|
@@ -207,8 +207,13 @@ void index_closemailbox(struct mailbox *
|
|
seendb = 0;
|
|
}
|
|
if (index_len) {
|
|
+/*
|
|
+ Always after index_closemailbox() goes mailbox_close()
|
|
+ that frees the same memory area.
|
|
+
|
|
map_free(&index_base, &index_len);
|
|
map_free(&cache_base, &cache_len);
|
|
+ */
|
|
index_len = cache_end = 0;
|
|
}
|
|
}
|