Imap doesnt work anymore!!


Well-Known Member
Sep 2, 2004
Today I started to receive complaints of customers that cant access to their webmails.

I tried and it´s true, I cant access either. Looking at /var/log/messages i found this errors:

server1 httpd: IMAP toolkit crash: Lock when already locked, mbx={"[email protected]"}IN

This error repeats with the respective account of each customer. Seems that something crashed.
I didnt any kind of cpanel update or httpd upgrade, everything was working fine and suddenly stopped.

I tried to restart imap, courier and httpd. And the error is still present.

Now I have to switch the webmail mode to pop3 to get it work again (Im using DWMAIL), but now sent folders are missing, cause they only work under imap.

Anyone had this issue and knows how to fix it?



Well-Known Member
Feb 28, 2005
North Carolina
If you do a web search on "IMAP toolkit crash" you'll find this is a PHP error and may be related to an extremely large attachement.

In a prior post on the DWMail support forum one response was "Sounds like you've got messages that are reaching the PHP memory limit. You could turn off the move to trash folder and simply delete directly as you'll never reach the PHP memory limit that way." See