From 93af07215d77956142cd24fa59e6695d391895c1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 10 Jun 2007 10:20:50 +0000 Subject: Use settings that works even over lock-broken NFS. --- localimap | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'localimap') 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 -- cgit v1.2.3