]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
updated for mmap changes
authorTimo Sirainen <tss@iki.fi>
Wed, 28 Apr 2004 00:27:42 +0000 (03:27 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 28 Apr 2004 00:27:42 +0000 (03:27 +0300)
--HG--
branch : HEAD

dovecot-example.conf

index 4fa759ce4a9bf644229df1ceefc1b51ec6a4288d..9dea0ded5d28093c98b194f6ad2314c7b7a708c8 100644 (file)
 # Note that OpenBSD 3.3 and older don't work right with mail_read_mmaped = yes.
 #mail_read_mmaped = no
 
+# Don't use mmap() at all. This is required if you store indexes in remote
+# filesystems (NFS or clustered filesystem).
+#mmap_disable = no
+
+# Don't write() to mmaped files. This is required for some operating systems
+# which use separate caches for them, such as OpenBSD.
+#mmap_no_write = no
+
 # Copy mail to another folders using hard links. This is much faster than
 # actually copying the file. This is problematic only if something modifies
 # the mail in one folder but doesn't want it modified in the others. I don't
 # for multiple users, as the users could ptrace() each others processes then.
 #mail_drop_priv_before_exec = no
 
-# Call mmap() with MS_INVALIDATE flag each time before accessing message
-# indexes. This is currently required with OpenBSD 3.3 and older versions.
-# It's also required if you insist on saving index files over NFS.
-#index_mmap_invalidate = no
-
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
 # files, so it shouldn't harm much even if this limit is set pretty high.
 #mail_process_size = 256