[dovecot-cvs] dovecot/doc index.txt,1.3,1.4 mail-storages.txt,1.4,1.5

cras at procontrol.fi cras at procontrol.fi
Sun Feb 23 23:06:59 EET 2003


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

Modified Files:
	index.txt mail-storages.txt 
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: index.txt
===================================================================
RCS file: /home/cvs/dovecot/doc/index.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- index.txt	14 Jan 2003 01:49:16 -0000	1.3
+++ index.txt	23 Feb 2003 21:06:57 -0000	1.4
@@ -9,12 +9,6 @@
 No attempt is made to deal with incompatible index files, they're either
 overwritten or new files are created.
 
-Index file names begin with ".imap.index" or ".imap.index-<hostname>". The
-first form is used by default, the second when first is found to be
-incompatible. If the second is also incompatible, it's simply overwritten.
-This should allow us to be NFS-safe in an environment with multiple
-different computer architectures.
-
 Indexes are bound to each others by "indexid" field in headers. If they
 don't match, the file is assumed to be corrupted and will be rebuilt.
 

Index: mail-storages.txt
===================================================================
RCS file: /home/cvs/dovecot/doc/mail-storages.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mail-storages.txt	20 Dec 2002 07:53:51 -0000	1.4
+++ mail-storages.txt	23 Feb 2003 21:06:57 -0000	1.5
@@ -53,6 +53,11 @@
 Adding :INDEX=<dir> to MAIL environment overrides the default location. The
 given directory must exist.
 
+It's also possible to disable index files by building them into memory.
+They're also automatically built into memory if the index files can't be
+opened or created for some reason (eg. out of disk space). To disable
+indexes always, add :INDEX=MEMORY to MAIL environment.
+
 
 Detecting what to use
 ---------------------




More information about the dovecot-cvs mailing list