Lost mailbox lock

Titam

Verified User
Joined
Apr 29, 2005
Messages
168
Hello,

I have a problem with an imap connection on one of my servers. Just after 4 or 5 seconds, with a mail client, i have this message :

Your imap server closed the connection. That can be due to a connection too long :

Lost mailbox lock
Protocol IMAP
Server : my server adress
Port 143

Any idea ?
 
I was just searching for a solution to that problem myself :)

The problem occurrs when 2 or more people are connecting to the same account on the IMAP server. There's a lock file in , I think it is,
/var/spool/virtual/domainname , for each user that is somehow locked to 1 user at a time.
So if say 2 people are reading from the same mail account they will grab the lock each time they fetch mail and kicking out the other user and this message will appear.
That´s my theory anyway :)

But it´s kind of crappy behaviour if you ask me...
I was hoping someone had posted a solution to this problem...
 
Please be more clear...

do you mean email user? Or multiple email uses on the same account?

It's perfectly normal behavior to not allow the same user to be logged in twice.

In fact it's part of the protocol.

Jeff
 
Sorry, I meant one and the same e-mail user, but with different clients connecting.

Looking from an end-customer point of view, I not sure if I agree with you there :)
This customer has an e-mail user [email protected] that only he has been using for a while and now there's 2 people reading the same mailbox and this problem occurrs.
I explained to problem to him and he though it was crap since his previous webhost, running merak mailserver, didn't have this locking problem. Now, I'm no IMAP protocol expert so maybe it's merak that breaks the standard...but it would be pretty nice if it's possible to change this behaviour :)

Anyway, it's not a huge problem...
 
Then possibly Merak knows how to manage multiple users at the same time.

It's NOT trivial. And it's not part of the standard protocol.

Jeff
 
Suggestion to solve the problem of 2 costumer 1 email account

I can suggest to you to have 2 accounts suport@ and support2@, in the email configuration of teh domain, create a redirect form all email incomming to support and redirect (or create copy) to both emails support@ and support2@.

Then, U can ask the costumer to configure for each user each email, and when the support2@ account send emails configre it on the client (outlok or other) to respond or send it as teh main account suport@.

Hope this can solve the need, meanwhile someone knows how to override the 1 user per account lock.
 
This is all still very confusing to me. I'd love to know what this thread means.

Do you mean multiple people reading the same email account, for example, [email protected], at the same time, using IMAP?

Or do you mean something different?

Jeff
 
This is all still very confusing to me. I'd love to know what this thread means.

Do you mean multiple people reading the same email account, for example, [email protected], at the same time, using IMAP?

Or do you mean something different?

Jeff

Ive got one email address and two pc's (Laptop and pc). My pc is always on so is outlook. Outside the office i use my laptop.

IMAP should behave like exchange from microsoft. Well it does work that, but the error messages are ignoring.
 
Back
Top