[Dovecot] [LDA] save failed to INBOX: Timeout while waiting for lock

Frank Bonnet f.bonnet at esiee.fr
Thu Apr 14 12:22:37 EEST 2011


On 04/14/2011 10:59 AM, Frank Bonnet wrote:
> On 04/14/2011 10:23 AM, Timo Sirainen wrote:
>> On Thu, 2011-04-14 at 10:18 +0200, Frank Bonnet wrote:
>>>>>> mail_location = mbox:%h/:INDEX=/var/cache/dovecot/index/%u:INBOX=/var/mail/%u
>>>>
>>>> That's the way mbox format works. One IMAP or POP3 client can lock the mailbox for a long time. LDA can either wait longer of fail and let MTA retry the delivery later. The default is:
>>>>
>>>> mbox_lock_timeout = 5 mins
>>>>
>>>> So apparently the LDA already waited for 5 minutes for the lock.
>>>>
>>>> (There is also actually mail_max_lock_timeout setting, but the default is 0 = disabled.)
>>>>  
>>>
>>> Should I do something to correct ?
>>
>> I don't really know if there is anything except switching away from
>> mbox.
>>
> 
> Hmmm the INBOX file seems locked by "something" ( mutt says FLOCK )


the INBOX file seemed damaged , I've copied it elsewhere
delete the INBOX file, re-copy the saves file it to INBOX
then it works ...





More information about the dovecot mailing list