<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>MailScanner not starting error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi there --</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">We are running MailScanner 4.83.4-1 on a CentOS 5.6 64-bit distribution. The status of MailScanner was checked hourly via the </FONT></P>

<P><FONT SIZE=2 FACE="Arial">check_mailscanner script, and normally the e-mailed result was 'Starting MailScanner&#8230;' which indicated the process was running</FONT></P>

<P><FONT SIZE=2 FACE="Arial">without issue. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The server in question sits outside the company firewall, and was configured to deliver e-mail messages directly to their intended </FONT></P>

<P><FONT SIZE=2 FACE="Arial">recipients. Our company recently changed its policy concerning external e-mail servers to require them to send their e-mails to</FONT></P>

<P><FONT SIZE=2 FACE="Arial">their destinations via an e-mail gateway server. Consequently, the server was reconfigured to relay its messages to the gateway,</FONT></P>

<P><FONT SIZE=2 FACE="Arial">and is no longer delivering messages directly to their recipients. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">When the change was made, I noticed the check_mailscanner script was sending a new message which read as follows: </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">'Starting MailScanner&#8230;failed'</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have tried starting and restarting the MailScanner software via the /etc/init.d/MailScanner script. The output of the script</FONT></P>

<P><FONT SIZE=2 FACE="Arial">seems to indicate that MailScanner starts, but a subsequent check for the application via the ps -ef |grep MailScanner command</FONT></P>

<P><FONT SIZE=2 FACE="Arial">shows the command is not running.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I checked the /var/log/maillog file for any reference to this when I did the restart of MailScanner, and the excerpt shown below</FONT></P>

<P><FONT SIZE=2 FACE="Arial">coincides with the time that I ran the script:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17895]: alias database /etc/aliases rebuilt by ahk</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17895]: /etc/aliases: 104 aliases, longest 29 bytes, 1526 bytes total</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17903]: starting daemon (8.13.8): SMTP</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17903]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17903]: daemon MTA: problem creating SMTP socket</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sm-msp-queue[17907]: starting daemon (8.13.8): queueing@00:15:00</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:53 hadron sendmail[17911]: starting daemon (8.13.8): queueing@00:15:00</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jun 16 11:42:58 hadron sendmail[17903]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Jun 16 11:42:58 hadron sendmail[17903]: daemon MTA: problem creating SMTP socket</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am not sure if this is the source of the problem, please excuse my ignorance if it is, or if there is something else at fault here.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Can someone lend a hand on this?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks. </FONT>
</P>

<font face="monospace"><br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
http://www.partners.org/complianceline . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.</font></BODY>
</HTML>