Stopping MailScanner
Bill Anderson
billa at STERLING.NET
Thu Nov 13 16:07:37 GMT 2003
Here is the ouput. Your procedure seems to work. Looks like the issue was
with the MailScanner restart.
[root at gandalf bin]#
Starting MailScanner daemons:
incoming sendmail: [ OK ]
outgoing sendmail: [ OK ]
MailScanner: [ OK ]
root 3592 1 1 07:55 ? 00:00:00 sendmail: accepting
connections
root 3601 1 0 07:55 ? 00:00:00
/usr/sbin/sendmail -q15m -OPidFi
root 3602 3601 2 07:55 ? 00:00:00 sendmail: ./hADFkJe01663
mail.to
root 3618 3592 0 07:55 ? 00:00:00 sendmail: startup with
vld-161-5
root 3619 3592 0 07:55 ? 00:00:00 sendmail: startup with
63-252-98
root 3620 3592 0 07:55 ? 00:00:00 sendmail: server
c-66-177-96-233
root 3622 1 0 07:55 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
root 3623 3622 0 07:55 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
Shutting down MailScanner daemons:
MailScanner: [ OK ]
incoming sendmail: [ OK ]
outgoing sendmail: [ OK ]
root 3602 1 0 07:55 ? 00:00:00 sendmail: ./hADFkJe01663
mail.to
root 3622 1 0 07:55 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
root 3623 3622 8 07:55 ? 00:00:02 [MailScanner <defunct>]
root 3638 1 0 07:55 ? 00:00:00 sendmail: server
p5080B16C.dip.t
root 3642 3622 11 07:55 ? 00:00:02 [MailScanner <defunct>]
root 3651 3622 19 07:55 ? 00:00:01 [MailScanner <defunct>]
root 3653 1 0 07:55 ? 00:00:00 sendmail: server
cable209a164.us
root 3654 1 0 07:55 ? 00:00:00 sendmail: server
AC85489A.ipt.ao
root 3655 1 0 07:55 ? 00:00:00 sendmail: server
smtp.investorso
root 3657 1 2 07:55 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
root 3660 1 5 07:55 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
root 3661 3655 0 07:55 ? 00:00:00 sendmail: ./hADFthL03661
smtp.in
root 3663 1 0 07:55 ? 00:00:00 sendmail: startup with
65.28.230
root 3666 3622 0 07:55 ? 00:00:00 [MailScanner <defunct>]
root 3688 1 0 07:55 ? 00:00:00 sendmail: startup with
te-64-146
root 3602 1 0 07:55 ? 00:00:00 sendmail: ./hADFTnA29720
virtual
root 3638 1 0 07:55 ? 00:00:00 sendmail: server
p5080B16C.dip.t
root 3653 1 0 07:55 ? 00:00:00 sendmail: server
cable209a164.us
root 3654 1 0 07:55 ? 00:00:00 sendmail: server
AC85489A.ipt.ao
root 3655 1 0 07:55 ? 00:00:00 sendmail: server
smtp.investorso
root 3661 3655 0 07:55 ? 00:00:00 sendmail: ./hADFthL03661
smtp.in
root 3663 1 0 07:55 ? 00:00:00 sendmail: server
woh-65-28-230-6
root 3688 1 0 07:55 ? 00:00:00 sendmail: server
te-64-146-65-13
root 3706 3638 0 07:55 ? 00:00:00 sendmail: ./hADFtqL03706
p5080B1
root 3708 3688 0 07:55 ? 00:00:00 sendmail: ./hADFtxL03708
te-64-1
root 3709 3653 0 07:56 ? 00:00:00 sendmail: server
cable209a164.us
Starting MailScanner daemons:
incoming sendmail: [ OK ]
outgoing sendmail: [ OK ]
MailScanner: [ OK ]
root 3602 1 0 07:55 ? 00:00:00 sendmail: ./hADFTnA29720
virtual
root 3638 1 0 07:55 ? 00:00:00 sendmail: server
p5080B16C.dip.t
root 3653 1 0 07:55 ? 00:00:00 sendmail: server
cable209a164.us
root 3654 1 0 07:55 ? 00:00:00 sendmail: server
AC85489A.ipt.ao
root 3655 1 0 07:55 ? 00:00:00 sendmail: server
smtp.investorso
root 3661 3655 0 07:55 ? 00:00:00 sendmail: ./hADFthL03661
smtp.in
root 3663 1 0 07:55 ? 00:00:00 sendmail: server
woh-65-28-230-6
root 3688 1 0 07:55 ? 00:00:00 sendmail: server
te-64-146-65-13
root 3706 3638 0 07:55 ? 00:00:00 sendmail: ./hADFtqL03706
p5080B1
root 3708 3688 0 07:55 ? 00:00:00 sendmail: ./hADFtxL03708
te-64-1
root 3709 3653 0 07:56 ? 00:00:00 sendmail: server
cable209a164.us
root 3741 1 2 07:56 ? 00:00:00 sendmail: accepting
connections
root 3750 1 0 07:56 ? 00:00:00
/usr/sbin/sendmail -q15m -OPidFi
root 3751 3750 2 07:56 ? 00:00:00 sendmail: ./hADFkJe01663
mail.to
root 3767 3741 1 07:56 ? 00:00:00 sendmail: startup with
modemcabl
root 3768 3741 0 07:56 ? 00:00:00 sendmail: server
woh-166-196-84.
root 3769 3741 0 07:56 ? 00:00:00 sendmail: startup with
[200.67.9
root 3771 1 1 07:56 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
root 3772 3771 8 07:56 ? 00:00:00
/usr/bin/perl -I/usr/lib/MailSca
----- Original Message -----
From: "Furnish, Trever G" <TGFurnish at HERFF-JONES.COM>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, November 12, 2003 1:59 PM
Subject: Re: Stopping MailScanner
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