Article ID: 2829, created on Oct 29, 2007, last review on May 3, 2014

  • Applies to:
  • Pro Control Panel Linux


View Knowledge
Knowledge ID 2249
Product : Ensim Pro for Linux
Version : 3.5
Topic : Hotfix

MailQueueCleaner Error in root Email from Cron

MailQueueCleaner Error in root Email from Cron


(Applicable for Webppliance version 3.1.3 and above Only, Fixed in Webppliance Pro 3.5)

Recieve the following Error via cron from the script,

/usr/sbin/chroot: cannot execute /usr/sbin/sendmail: No such file or directory

Reason :
MailQueueCleaner is a script used to process mail from site queues, due to a minor bug it does not check if a site has sendmail enabled or not but just calls the sendmail process in the site at /home/virtual/<domainname>/usr/sbin/sendmail for all domains.

This binary sendmail, does not exists for domains which do not have sendmail enabled.

And as these domains do not recieve mails on this server anyway, this Error can be safely ignored.

If you want to fix this, Edit the file MailQueueCleaner and change the following check ..

if [ -d $siteroot/var/spool/mqueue ]; then


if [ -d $siteroot/var/spool/mqueue ] && [ -x $siteroot/usr/sbin/sendmail ]; then


Related Knowledge

Related Links
Last ModifiedUsageSatisfiedLast Used
6/16/2006 2:23:00 AM42 10/11/2007 4:31:51 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF