Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8868:39f1644ed150 HEAD
Don't try to create files to Maildir/tmp/ if INBOX doesn't exist in Maildir/.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 25 Mar 2009 19:43:39 -0400 |
parents | 44f7b2f4a767 |
children | 8cedfefc98e0 |
files | src/lib-storage/index/maildir/maildir-storage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-storage.c Wed Mar 25 19:43:06 2009 -0400 +++ b/src/lib-storage/index/maildir/maildir-storage.c Wed Mar 25 19:43:39 2009 -0400 @@ -258,7 +258,7 @@ storage->stat_dirs = getenv("MAILDIR_STAT_DIRS") != NULL; storage->temp_prefix = mailbox_list_get_temp_prefix(list); - if (list_set.control_dir == NULL && + if (list_set.control_dir == NULL && list_set.inbox_path == NULL && (_storage->ns->flags & NAMESPACE_FLAG_INBOX) != 0) { /* put the temp files into tmp/ directory preferrably */ storage->temp_prefix = p_strconcat(_storage->pool, "tmp/",