Spool File Is Locked Another Process cPanel

Exim is a mail transfer agent (MTA) used on Unix-like operating systems. Exim is free software distributed under the terms of the GNU General Public License, and it aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.

Exim has been ported to most Unix-like systems, as well as to Microsoft Windows using the Cygwin emulation layer. Exim 4 is currently the default MTA on Debian GNU/Linux systems.

A large number of Exim installations exist, especially within Internet service providers[2] and universities in the UK. Exim is also widely used with the GNU Mailman mailing list manager, and cPanel.

Spool File Is Locked Another Process cPanel


Okay, straight to the actual problems. some time ago I get a lot of mail queue on the cpanel server and the email can not be removed from WHM mode because that email is locked.
so you must stop all email and database service on the cpanel server with this following command

# /etc/init.d/exim stop
# /etc/init.d/mysql stop


execute commands automatically repair for exim and courier

/scripts/courierup --force
/scripts/eximup --force


and delete the locked file with the following command:

cd /var/spool/exim
find input -type f -exec rm -rf {} \;
find msglog -type f -exec rm -rf {} \;
/etc/init.d/exim restart


and re-check again your mail queue on WHM mode on:
Home >> Email >> Mail Queue Manager

wish you luck!
Previous
Next Post »