[Dovecot] maildir locking and 'racing'
William Ross
will at spanner.org
Fri Mar 3 00:08:40 EET 2006
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.conf
>
> All 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 at example.com):
>> maildir_file_do(/var/lib/vpopmail/domains/example.com/user/
>> Maildir) racing
>>
>> if 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
>>
>
>
More information about the dovecot
mailing list