MailScanner not starting error

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Thu Jun 16 18:34:21 IST 2011


Hi there --

I checked the sendmail.mc file, and I verified there was only one reference to
the mail gateway server,
as well as the correct spelling being in place for it. I have included the
sendmail.cf file with this
e-mail as reference. 

The netstat -a command indicated the following for the smtp port:

tcp        0      0 *:smtp                      *:*
LISTEN

The system runs dovecot as its pop3 server, and the netstat entries there are
the following:

tcp        0      0 *:pop3s                     *:*
LISTEN
tcp        0      0 *:pop3                      *:*
LISTEN
tcp        0      0 *:imap                      *:*
LISTEN

The MTA, sendmail, is restarting apparent without issue. This is proven by the
following readout
of the ps -ef |grep sendmail command:

root     21516     1  0 13:22 ?        00:00:00 sendmail: accepting connections

smmsp    21520     1  0 13:22 ?        00:00:00 sendmail: Queue runner at 00:15:00
for /var/spool/clientmqueue
root     21524     1  0 13:22 ?        00:00:00 sendmail: Queue runner at 00:15:00
for /var/spool/mqueue




  

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Scott Silva
Sent: Thursday, June 16, 2011 11:53 AM
To: mailscanner at lists.mailscanner.info
Subject: Re: MailScanner not starting error

on 6/16/2011 8:44 AM Kaplan, Andrew H. spake the following:
> Hi there --
> 
> 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
> 
> check_mailscanner script, and normally the e-mailed result was 'Starting
> MailScanner...' which indicated the process was running
> 
> without issue.
> 
> The server in question sits outside the company firewall, and was configured
> to deliver e-mail messages directly to their intended
> 
> recipients. Our company recently changed its policy concerning external e-mail
> servers to require them to send their e-mails to
> 
> their destinations via an e-mail gateway server. Consequently, the server was
> reconfigured to relay its messages to the gateway,
> 
> and is no longer delivering messages directly to their recipients.
> 
> When the change was made, I noticed the check_mailscanner script was sending a
> new message which read as follows:
> 
> 'Starting MailScanner...failed'
> 
> I have tried starting and restarting the MailScanner software via the
> /etc/init.d/MailScanner script. The output of the script
> 
> seems to indicate that MailScanner starts, but a subsequent check for the
> application via the ps -ef |grep MailScanner command
> 
> shows the command is not running.
> 
> I checked the /var/log/maillog file for any reference to this when I did the
> restart of MailScanner, and the excerpt shown below
> 
> coincides with the time that I ran the script:
> 
> Jun 16 11:42:53 hadron sendmail[17895]: alias database /etc/aliases rebuilt by
> ahk
> Jun 16 11:42:53 hadron sendmail[17895]: /etc/aliases: 104 aliases, longest 29
> bytes, 1526 bytes total
> Jun 16 11:42:53 hadron sendmail[17903]: starting daemon (8.13.8): SMTP
> Jun 16 11:42:53 hadron sendmail[17903]: NOQUEUE: SYSERR(root):
> opendaemonsocket: daemon MTA: cannot bind: Address already in use
> 
> Jun 16 11:42:53 hadron sendmail[17903]: daemon MTA: problem creating SMTP
socket
> Jun 16 11:42:53 hadron sm-msp-queue[17907]: starting daemon (8.13.8):
> queueing at 00:15:00
> Jun 16 11:42:53 hadron sendmail[17911]: starting daemon (8.13.8):
> queueing at 00:15:00
> Jun 16 11:42:58 hadron sendmail[17903]: NOQUEUE: SYSERR(root):
> opendaemonsocket: daemon MTA: cannot bind: Address already in use
> 
> Jun 16 11:42:58 hadron sendmail[17903]: daemon MTA: problem creating SMTP
socket
> 
> 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.
> 
> Can someone lend a hand on this?
> 
> Thanks.
Either your MTA is not restarting, or something else has taken the port that
your MTA is trying to bind to. Check your MTA config files for typos since you
stated you just made changes to it...

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

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
http://www.partners.org/complianceline . 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sendmail.cf
Type: application/octet-stream
Size: 58266 bytes
Desc: sendmail.cf
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20110616/e5a685bf/sendmail-0001.obj


More information about the MailScanner mailing list