[dovecot-cvs] dovecot/src/master mail-process.c,1.9,1.10 master-settings.c,1.13,1.14 master-settings.h,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Sun Feb 23 23:07:00 EET 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv1249/src/master

Modified Files:
	mail-process.c master-settings.c master-settings.h 
Log Message:
Index opening rewrites. We don't try to support .imap.index-<hostname> style
indexes anymore. They just made things more difficult, and it's really not a
good idea to use index files via NFS anyway.

Added support for :INDEX=MEMORY in MAIL env to disable using index files.
Also if we can't open or create index file for any reason, we now fallback
to in-memory indexes. Before we fallbacked only with out of disk space
errors.

If .customflags can't be created, we still work now by not allowing to
create new custom flags.



Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mail-process.c	21 Feb 2003 13:02:16 -0000	1.9
+++ mail-process.c	23 Feb 2003 21:06:58 -0000	1.10
@@ -175,8 +175,6 @@
 		env_put("MAILDIR_COPY_WITH_HARDLINKS=1");
 	if (set->maildir_check_content_changes)
 		env_put("MAILDIR_CHECK_CONTENT_CHANGES=1");
-	if (set->overwrite_incompatible_index)
-		env_put("OVERWRITE_INCOMPATIBLE_INDEX=1");
 	if (set->mail_full_filesystem_access)
 		env_put("FULL_FILESYSTEM_ACCESS=1");
 	(void)umask(set->umask);

Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- master-settings.c	23 Feb 2003 19:44:46 -0000	1.13
+++ master-settings.c	23 Feb 2003 21:06:58 -0000	1.14
@@ -67,7 +67,6 @@
 	DEF(SET_BOOL, mbox_read_dotlock),
 	DEF(SET_INT, mbox_lock_timeout),
 	DEF(SET_INT, mbox_dotlock_change_timeout),
-	DEF(SET_BOOL, overwrite_incompatible_index),
 	DEF(SET_INT, umask),
 	DEF(SET_BOOL, mail_drop_priv_before_exec),
 
@@ -174,7 +173,6 @@
 	MEMBER(mbox_read_dotlock) FALSE,
 	MEMBER(mbox_lock_timeout) 300,
 	MEMBER(mbox_dotlock_change_timeout) 30,
-	MEMBER(overwrite_incompatible_index) FALSE,
 	MEMBER(umask) 0077,
 	MEMBER(mail_drop_priv_before_exec) FALSE,
 

Index: master-settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- master-settings.h	23 Feb 2003 19:44:46 -0000	1.7
+++ master-settings.h	23 Feb 2003 21:06:58 -0000	1.8
@@ -51,7 +51,6 @@
 	int mbox_read_dotlock;
 	unsigned int mbox_lock_timeout;
 	unsigned int mbox_dotlock_change_timeout;
-	int overwrite_incompatible_index;
 	unsigned int umask;
 	int mail_drop_priv_before_exec;
 




More information about the dovecot-cvs mailing list