Re: [Dovecot] maildir locking and 'racing'
On 2 Mar 2006, at 21:44, Andy Cravens wrote:
I had this problem on a Sun Solaris 9 host using maildir. I had to
set lock_method = fcntl in dovecot.confAll accounts on this system are on local disk (not NFS)
Fantastic! Fixed it just like that. Thank you.
Oddly, this too is a Sun box but it's running Debian. I'm ccing this
back to the list in case anyone else needs to know that (or can tell
me what's wrong with my flock).
thanks again,
will
William Ross wrote:
hello Timo, list,
quick error-message question. A few of the accounts on my main
mailserver are failing to log in with errors like this:dovecot: Mar 02 19:33:35 Error: imap(user@example.com):
maildir_file_do(/var/lib/vpopmail/domains/example.com/user/ Maildir) racingif I log in by telnet everything is fine, and from the source it
looks like the error happens when dovecot fails to get a lock on
some important file or other. Could it be to do with concurrent
connections? No idea. Has anyone seen this, and can you suggest a
quick fix? I can't see any obvious difference between the
accounts that work and those that don't :(nb. this is with vpopmail, and the Maildirs have just been moved
over from another server that was also running the same version
of dovecot. Some of the accounts do work. Perhaps it's just an
obscure file permissions problem, or something? I'd be very glad
of any suggestions.thank you,
will
On Thu, 2006-03-02 at 22:08 +0000, William Ross wrote:
On 2 Mar 2006, at 21:44, Andy Cravens wrote:
I had this problem on a Sun Solaris 9 host using maildir. I had to
set lock_method = fcntl in dovecot.confAll accounts on this system are on local disk (not NFS)
Fantastic! Fixed it just like that. Thank you.
Oddly, this too is a Sun box but it's running Debian. I'm ccing this
back to the list in case anyone else needs to know that (or can tell
me what's wrong with my flock).
That's strange. I haven't heard of there being any problems with flock, except with NFS..
participants (2)
-
Timo Sirainen
-
William Ross