MailScanner not starting error

Thu Jun 16 20:31:25 IST 2011

Hi there --

I ran the commands listed in your e-mail, and for good measure I confirmed 
that sendmail was not configured to start on system boot. After that, I did
reboot the server.

After the server came up I checked for an instance of MailScanner running, 
and there was none. When I ran the MailScanner script with the status option,
MailScanner continued to appear as failed. 

As far as running sendmail processes are concerned, here is a listing of them:

root      2828     1  0 15:26 ?        00:00:00 sendmail: accepting connections

smmsp     2832     1  0 15:26 ?        00:00:00 sendmail: Queue runner at 00:15:00
for /var/spool/clientmqueue
root      2836     1  0 15:26 ?        00:00:00 sendmail: Queue runner at 00:15:00
for /var/spool/mqueue


-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Chris Stone
Sent: Thursday, June 16, 2011 3:11 PM
To: MailScanner discussion
Subject: Re: MailScanner not starting error


On Thu, Jun 16, 2011 at 12:21 PM, Kaplan, Andrew H.
<AHKAPLAN at> wrote:
> I ran the nslookup command on the server, and it was able to resolve the
> hostname. After that I stopped MailScanner via the
> /etc/init.d/MailScanner script, and followed up with the killall sendmail
> command. When I ran the ps -ef command immediately thereafter, I observed
> two defunct sendmail processes.
> After I restarted MailScanner, the two defunct processes were still present
> along with two 'regular' sendmail processes. The first of the two defunct
> processes disappeared after ten minutes, while the second one as of this
> e-mail continues to exist.

Try running:

service MailScanner stop
service sendmail stop
chkconfig MailScanner on
chkconfig sendmail off
killall -TERM sendmail
service MailScanner start

The MailScanner init script starts sendmail for you, so you need to
make sure the the 'normal' sendmail init script is disabled. The above
commands should do that all for you and after the last, you should
then see MailScanner (with sendmail) starting up successfully.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

More information about the MailScanner mailing list