summaryrefslogtreecommitdiff
path: root/localimap
diff options
context:
space:
mode:
Diffstat (limited to 'localimap')
-rwxr-xr-xlocalimap13
1 files changed, 10 insertions, 3 deletions
diff --git a/localimap b/localimap
index 9817d9e..60e2a30 100755
--- a/localimap
+++ b/localimap
@@ -4,10 +4,17 @@ if test -d ~/Maildir; then
MAIL=~/Maildir
fi
-# Do these work at all?
+# This might work on local storage
# (one for dovecot 1.x and the other for 0.99.x)
-export MBOX_WRITE_LOCKS=fcntl
-export MBOX_LOCKS=fcntl
+#export MBOX_WRITE_LOCKS=fcntl
+#export MBOX_LOCKS=fcntl
+
+# Works for Dovecot 1.x over non-locking NFS
+export LOCK_METHOD=dotlock
+export MMAP_DISABLE=yes
+
+#export DEFAULT_MAIL_ENV=maildir:~/Maildir:INDEX=MEMORY
+#export INDEX=MEMORY
# Avoid noise to stderr
#export USE_SYSLOG=1