diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-06-10 10:20:50 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-06-10 10:20:50 +0000 |
commit | 93af07215d77956142cd24fa59e6695d391895c1 (patch) | |
tree | b602fd37c9824c5889c99b1e27133f6df8e16124 | |
parent | 63a498e7814f9e999ac3082052518888360e3666 (diff) |
Use settings that works even over lock-broken NFS.
-rwxr-xr-x | localimap | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |