mailscanner status command
Julian Field
jkf at ecs.soton.ac.uk
Fri Jun 21 13:41:10 IST 2002
So are you saying my latest script works, or doesn't work?
At 13:11 21/06/2002, you wrote:
>This [sendmail] reference is apparently a symptom of the problem that I
>reported yesterday when the 'status' command twice indicated FAILED. Below
>are both the 'status' output and a 'ps ax' output.
>
>[root-dll at server1 ~]$ service mailscanner status
>Checking MailScanner daemons:
> MailScanner: [ OK ]
> incoming sendmail: [ OK ]
> outgoing sendmail: [FAILED]
>[root-dll at server1 ~]$ ps ax |grep -i mail
> 6472 ? S 0:00 sendmail: accepting connections
> 6475 ? S 0:00 [sendmail]
>15233 ? S 0:05 perl /usr/local/MailScanner/bin/mailscanner
>/usr/loca
>16960 ? S 0:00 sendmail: ./g5HEGoW29244 softwaremodeling.com.:
>user
>
>Then, a stop, start, status and ps again. Note that it stopped the
>processes ok so it's not dependant on the 'ps ax' output for that.
>
>[root-dll at server1 ~]$ service mailscanner stop
>Shutting down MailScanner daemons:
> MailScanner: [ OK ]
> incoming sendmail: [ OK ]
> outgoing sendmail: [ OK ]
>[root-dll at server1 ~]$ service mailscanner start
>Starting MailScanner daemons:
> incoming sendmail: [ OK ]
> outgoing sendmail: [ OK ]
> MailScanner: [ OK ]
>[root-dll at server1 ~]$ service mailscanner status
>Checking MailScanner daemons:
> MailScanner: [ OK ]
> incoming sendmail: [ OK ]
> outgoing sendmail: [ OK ]
>[root-dll at server1 ~]$ !ps
>ps ax | grep -i mail
>17325 ? S 0:00 sendmail: accepting connections
>17328 ? S 0:00 /usr/sbin/sendmail -q15m
>17331 ? S 0:00 sendmail: ./g5HEGoW29244 alpha.armillaire.com.:
>user
>17337 ? S 0:00 perl /usr/local/MailScanner/bin/mailscanner
>/usr/loca
>[root-dll at server1 ~]$
>
>Dan
>
>
>----- Original Message -----
>From: "Dave Horsfall" <dave at ESI.COM.AU>
>To: <MAILSCANNER at JISCMAIL.AC.UK>
>Sent: Friday, June 21, 2002 7:50 AM
>Subject: Re: mailscanner status command
>
>
> > On Fri, 21 Jun 2002, Nick Phillips wrote:
> >
> > > > 679 ? S 0:00 [sendmail]
> > >
> > > In a situation where you've asked ps to show arguments etc., it goes
>like
> > > that to indicate that it can't, for whatever reason. That's what POSIX
> > > says it's supposed to do, anyway...
> >
> > Mostly because it's been swapped out.
> >
> > > Today is National Existential Ennui Awareness Day.
> >
> > Who cares :-)
> >
> > --
> > Dave Horsfall DTM VK2KFU dave at esi.com.au Ph: +61 2 9906-3377 Fx:
>9906-3468
> > (Unix Guru) Pacific ESI, Unit 22, 8 Campbell St, Artarmon, NSW 2065,
>Australia
> >
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list