Stopping MailScanner

Furnish, Trever G TGFurnish at HERFF-JONES.COM
Wed Nov 12 21:59:13 GMT 2003


No, that's not the way it ought to work.  The remaining sendmail processes
should not keep you from restarting sendmail or MailScanner.

First, let's be sure you're starting off clean - stop MS and do whatever it
takes to make all the sendmail processes go away.  (But be aware that if you
forcibly kill a sendmail process while it's talking to a remote server, you
may end up with "dead" files in the mailqueue.in if it was an inbound
message or with a slightly corrupt mail spool if it was a message being
delivered to a local account on the system or with a message that never gets
delivered if it was a process delivering an outbound message.)

Once you have everything shut down, run these commands in order and send
back their output:

ps -ef | grep [mM]ail
service MailScanner start
ps -ef | grep [mM]ail
sleep 30
service MailScanner stop
ps -ef | grep [mM]ail
sleep 30
ps -ef | grep [mM]ail
service MailScanner start
ps -ef | grep [mM]ail

--
Trever

> -----Original Message-----
> From: Bill Anderson [mailto:billa at STERLING.NET]
> Sent: Wednesday, November 12, 2003 3:10 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Stopping MailScanner
> 
> 
> When I do a mailscanner restart, mailscanner fails to restart 
> mailscanner.
> I have found that restart does not work.  The only way to 
> make it work is to
> shutdown mailscanner, shutdown sendmail, and then start 
> mailscanner.  From
> what I am gathering from everyones response, this is not the 
> way it should
> be.  I am currently running MailScanner 4.22-4 and Sendmail 
> 8.11.6-27.72.
> 
> 
> ----- Original Message ----- 
> From: "Bill Anderson" <billa at STERLING.NET>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Wednesday, November 12, 2003 11:56 AM
> Subject: Re: Stopping MailScanner
> 
> 
> I have waited up to 5 minutes and they are still processing 
> mail.  Can I go
> ahead and start mailscanner with these sendmail processes 
> running, or do I
> need to shutdown sendmail before starting mailscanner again?  Thanks.
> 
> ----- Original Message ----- 
> From: "Ugo Bellavance" <ugob at CAMO-ROUTE.COM>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Tuesday, November 11, 2003 4:01 PM
> Subject: Re: Stopping MailScanner
> 
> 
> > -----Message d'origine-----
> > De : Bill Anderson [mailto:billa at STERLING.NET]
> > Envoyé : Tuesday, November 11, 2003 6:50 PM
> > À : MAILSCANNER at JISCMAIL.AC.UK
> > Objet : Stopping MailScanner
> >
> >
> > When I do an /etc/init.d/MailScanner stop, the mailscanner processes
> > shutdown, however, the sendmail processes are still running.
> 
> they may still run for some time, if they are processing 
> messages, have you
> waited long enough?
> 
> 
> >
> > Is this normal behaviour?  In previous versions shutting down
> > MailScanner
> > would shutdown the sendmail processes as well.
> >
> > Do I need to shutdown sendmail to restart MailScanner?
> >
> > Thanks.
> >
> > ps.  I posted this earlier, however, I believe my question 
> was hard to
> > understand.
> >
> 




More information about the MailScanner mailing list