LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2011, 10:48 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
MailScanner not starting error


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:

Quote:
'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:

Quote:
'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:

Quote:
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@00:15:00
Jun 16 11:42:53 hadron sendmail[17911]: starting daemon (8.13.8): queueing@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.
 
Old 06-16-2011, 01:39 PM   #2
bazza06
LQ Newbie
 
Registered: Nov 2010
Location: West Midlands, UK
Distribution: CentOS, Fedora, Mint, Ubuntu
Posts: 9

Rep: Reputation: 1
Check that no sendmail processes are running before you start MailScanner. Your log extract seems to indicate an SMTP daemon already running.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailscanner -service error centos123 Linux - Server 7 09-26-2011 03:45 AM
MailScanner not starting postfix TheGNUbie Linux - Software 1 02-06-2010 02:58 AM
MailScanner Error David@330 Linux - Newbie 4 04-01-2005 02:56 AM
MailScanner Error Still David@330 Linux - Newbie 0 04-01-2005 12:57 AM
ClamAV+MailScanner error message pudhiyavan Linux - Security 1 07-29-2004 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration