dovecot-1.1: NFS checking checks now mail_nfs_index=yes instead ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 5 02:59:59 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/de47a37ca0c1
changeset: 7354:de47a37ca0c1
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 05 02:59:55 2008 +0200
description:
NFS checking checks now mail_nfs_index=yes instead of mmap_disable=yes.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/master/mail-process.c |    4 ++--

diffs (21 lines):

diff -r 33304b5f6070 -r de47a37ca0c1 src/master/mail-process.c
--- a/src/master/mail-process.c	Wed Mar 05 02:54:33 2008 +0200
+++ b/src/master/mail-process.c	Wed Mar 05 02:59:55 2008 +0200
@@ -513,7 +513,7 @@ static void nfs_warn_if_found(const char
 		return;
 
 	i_fatal("Mailbox indexes in %s are in NFS mount. "
-		"You must set mmap_disable=yes to avoid index corruptions. "
+		"You must set mail_nfs_index=yes to avoid index corruptions. "
 		"If you're sure this check was wrong, set nfs_check=no.", path);
 }
 
@@ -655,7 +655,7 @@ create_mail_process(enum process_type pr
 
 	/* See if we need to do the initial NFS check. We want to do this only
 	   once, so the check code needs to be before fork(). */
-	if (set->nfs_check && !set->mmap_disable && !dump_capability) {
+	if (set->nfs_check && !set->mail_nfs_index && !dump_capability) {
 		set->nfs_check = FALSE;
 		nfs_check = TRUE;
 	} else {


More information about the dovecot-cvs mailing list