dovecot: Disable mailbox list indexing always (so it's disabled ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Sep 22 11:50:54 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/2b434cf6954e
changeset: 6444:2b434cf6954e
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Sep 22 11:50:51 2007 +0300
description:
Disable mailbox list indexing always (so it's disabled in deliver).

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/list/index-mailbox-list.c |    4 ++--

diffs (16 lines):

diff -r 53313d1e7e4f -r 2b434cf6954e src/lib-storage/list/index-mailbox-list.c
--- a/src/lib-storage/list/index-mailbox-list.c	Sat Sep 22 11:42:58 2007 +0300
+++ b/src/lib-storage/list/index-mailbox-list.c	Sat Sep 22 11:50:51 2007 +0300
@@ -505,10 +505,10 @@ static void index_mailbox_list_created(s
 	struct index_mailbox_list *ilist = NULL;
 	const char *dir;
 
-	/* FIXME: for now we only work with maildir++ */
+	/* FIXME: always disabled for now */
 	dir = mailbox_list_get_path(list, NULL, MAILBOX_LIST_PATH_TYPE_INDEX);
 	if (*dir == '\0' || getenv("MAILBOX_LIST_INDEX_DISABLE") != NULL ||
-	    strcmp(list->name, "maildir++") != 0) {
+	    strcmp(list->name, "maildir++") != 0 || 1) {
 		/* reserve the module context anyway, so syncing code knows
 		   that the index is disabled */
 		MODULE_CONTEXT_SET(list, index_mailbox_list_module, ilist);


More information about the dovecot-cvs mailing list