Email problem - inbox.lock file left by client

I'm hoping that someone here might have some experience or suggestions for a problem I'm having.

One of my clients is using the "Entourage" email client program on her MAC.
All of a sudden, it has started crashing as soon as she tries to check her mailbox on her account hosted on a CPanel VPS server with Exim.

When her Entourage email program crashes, it leave in place the "inbox.lock" file in her mailbox directory, so after her client email program crashes, the webmail no longer works either, because the presence of the "inbox.lock" file prevents the webmail client from accessing the inbox.

I can fix the problem by deleting the inbox.lock file, and the webmail then works and she can access her mail that way.
Unfortunately, I have to keep deleting the inbox.lock file every time her Entourage email program crashes and leaves the mailbox locked up.

My question is whether there is not some built-in function in either Exim or Cpanel that should be able to remove the mailbox lock automatically if it is in place for an excessive period of time. It seems to me that this should be a part of the normal system operation, but I can't seem to find such a mailbox lock removal for situations where the client has left the lock file in place. If there is, does anyone know how to make it work?

I could write a cron script that checks for the inbox.lock file and remove it if it is more than a few minutes old, but this seems like a kludge. Plus, such a script would need to run rather often to be effective.

Does anyone here have any experience with this problem, or know of a built-in solution within CPanel or Exim for removing lock files left by the client email software?

Thanks in advance for any help.

 

 

 

 

Top