[Dovecot] Linux, Maildir over NFS, Locking problems
    Terrence Martin 
    tmartin at daedalus.ca
       
    Thu Apr  7 21:26:40 EEST 2005
    
    
  
Hi,
I am having problems with file locks with my NFS mounted Maildir setup.
NFS Client/IMAP Server is RHEL3 clone whitebox and NFS server is a 
Fedora Core 2 system.  Both are running lockd as far as I can tell.  
dovecot is installed with Dag's latest dovecot RPMs for RHEL3. Time is 
synced between the two systems.
Here is the pertinent log file entry
dovecot: Dovecot starting up
Apr  7 11:17:42 sentry imap(tmartin): 
/home/tmartin/Maildir/.subscriptions failed with subscription file 
file_wait_lock(): No locks available
Now what I can find in nfs.txt is that I need to use fnctl is this
".customflags and .subscriptions files require fcntl() locking currently.
   Many NFS servers don't support it, at least without a separate lockd
   daemon. These will be fixed later to be NFS-safe by default."
My question is am I using fcntl? The only reference I can find in the 
config refers to mbox formats, but I am using maildir. Setting the one 
reference to fcntl does not seem to have any effect. Is there a 
configuration setting to tell the server to use fcntl locks or a way to 
tell if it is trying to use fcntl locks? 
Thanks for any tips,
Terrence
    
    
More information about the dovecot
mailing list