daemon MTA: problem creating SMTP socket

Erick Perez eperez at COMPUSERVICE.NET
Mon May 24 17:43:02 IST 2004


I always place a killall sendmail (or two) inside the stop section in
MailScanner script.
It works for me.
(for RPM installs, /etc/rc.d/init.d/MailScanner or check your startup
script)
        elif [ $MTA = "sendmail" ]; then
          #killproc sendmail 2>/dev/null
          kill `head -1 $INPID` 2>/dev/null
          kill `head -1 /var/run/sm-client.pid` 2>/dev/null
            killall sendmail (or two, wont hurt anybody)

You can use -w switch to wait for killall to terminate (SIGTERM) the
process, however if the sendmail process is a zombie the -w will wait
forever.

Erick.

          success
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Alex Neuman
Sent: Monday, May 24, 2004 11:09 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: daemon MTA: problem creating SMTP socket

Perhaps you should modify your scripts to wait a while and then kill any
remaining sendmail processes.
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Miguel Koren O'Brien de Lacy
Sent: Monday, May 24, 2004 10:28 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: daemon MTA: problem creating SMTP socket


I've had this problem after updates. It only happens to me if I neglect to
stop sendmail. I'm not sure why stopping Mail Scanner doesn't always stop
all sendmail daemons. To correct this I stop Mail Scanner and stop sendmail
again untill I don't see them in the process list. Then I start Mail Scanner
and all is well.

Miguel

Derek Winkler wrote:

This is realated to your MTA, obviously...

Address already in use

You've tried to start your MTA but something was already listening on port
25.

May be due to not shutting down the sendmail service after installing
MailScanner.

  
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Idan Plotnik
Sent: Friday, May 21, 2004 3:20 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: daemon MTA: problem creating SMTP socket


Hi all,

I have had a problem with my sendmail-8.12.8, this what to maillog show
me:

May 21 18:43:08 MR-doar sendmail[2091]: daemon MTA: problem creating SMTP
socket May 21 18:43:13 MR-doar MailScanner[2164]: MailScanner E-Mail Virus
Scanner version 4.30.3 starting...
May 21 18:43:13 MR-doar MailScanner[2164]: Using locktype = flock May 21
18:43:13 MR-doar sendmail[2091]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use May 21
18:43:13 MR-doar sendmail[2091]: daemon MTA: problem creating SMTP socket
May 21 18:43:18 MR-doar sendmail[2091]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use May 21
18:43:18 MR-doar sendmail[2091]: daemon MTA: problem creating SMTP socket
May 21 18:43:23 MR-doar MailScanner[2165]: MailScanner E-Mail Virus Scanner
version 4.30.3 starting...
May 21 18:43:23 MR-doar MailScanner[2165]: Using locktype = flock May 21
18:43:23 MR-doar sendmail[2091]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use May 21
18:43:23 MR-doar sendmail[2091]: daemon MTA: problem creating SMTP socket
May 21 18:43:28 MR-doar sendmail[2091]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use May 21
18:43:28 MR-doar sendmail[2091]: daemon MTA: problem creating SMTP socket
May 21 18:43:28 MR-doar sendmail[2091]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting

I tried to do anthing you can think about until I dicaided to uninstall
MailScanner, and after that everything work just fine.
Someone can tell me what is the problem ?


Thanks a lot.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html

    

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html

  


--
Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar
livre de perigo. -------------------------- MailScanner list
---------------------- To leave, send leave mailscanner to
jiscmail at jiscmail.ac.uk Before posting, please see the Most Asked Questions
at http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html




More information about the MailScanner mailing list