On Tue, 2009-07-07 at 10:02 +0200, Federico Bianchi wrote: > The symptoms: when the Mail application is "closed" on the iPhone, Outlook > still says the mailbox is in use; a Dovecot imap process is still active > for that user even after a few minutes (manually killing it releases the > lock, thereby leaving the inbox available for Outlook).
That's strange. Normally an IMAP process shouldn't be holding any locks at all. Can you check if there are any *.lock files that get deleted when killing the imap process? > that's why I asked you whether there is a way to tell Dovecot only > one POP3 or IMAP process from the same user, the latest one, can be active > at the same time, closing and disconnecting all the others. No. > pop3_lock_session(pop3): yes This means that during the whole POP3 session Dovecot locks the mailbox by creating dovecot-uidlist.lock. If it can't, it gives the "mailbox is in use" error. So I could understand if there was a long-running pop3 process holding the lock, but imap processes really shouldn't be doing that..
signature.asc
Description: This is a digitally signed message part
