Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6444:2b434cf6954e HEAD
Disable mailbox list indexing always (so it's disabled in deliver).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 22 Sep 2007 11:50:51 +0300 |
parents | 53313d1e7e4f |
children | 4d33a6959d32 |
files | src/lib-storage/list/index-mailbox-list.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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);