mailscanner status command

Julian Field jkf at ecs.soton.ac.uk
Thu Jun 20 16:20:01 IST 2002


Good idea.
New init.d script attached, which has much prettier output.

At 15:24 20/06/2002, you wrote:
>While on this topic, I thought I'd let you know that the output from the
>start command is missing the [ OK ] message on my system.
>
>Also, now that you've implemented the status command that reports on the
>three processes, perhaps it would be appropriate for the start and stop
>commands to do so also.  Here's the start/stop output and the status output:
>
>[root-dll at server1 init.d]$ service mailscanner stop
>Shutting down MailScanner:                                 [  OK  ]
>[root-dll at server1 init.d]$ service mailscanner start
>Starting MailScanner:
>[root-dll at server1 init.d]$ service mailscanner status
>Checking MailScanner:                                      [  OK  ]
>Checking incoming sendmail:                              [  OK  ]
>Checking outgoing sendmail:                              [  OK  ]
>
>Dan
>
>
>----- Original Message -----
>From: "Dan Leavitt" <dll at SCITOOLS.COM>
>To: <MAILSCANNER at JISCMAIL.AC.UK>
>Sent: Thursday, June 20, 2002 10:12 AM
>Subject: Re: mailscanner status command
>
>
> > It works ok.
> >
> > Thanks,
> > Dan
> >
> > ----- Original Message -----
> > From: "Julian Field" <jkf at ECS.SOTON.AC.UK>
> > To: <MAILSCANNER at JISCMAIL.AC.UK>
> > Sent: Thursday, June 20, 2002 9:51 AM
> > Subject: Re: mailscanner status command
> >
> >
> > > At 14:11 20/06/2002, you wrote:
> > > >I've noted a few queries on this list for how to determine if
>mailscanner
> > is
> > > >running properly.  How about augmenting /etc/rc.d/init.d/mailscanner to
> > > >implement a 'status' command that does whatever is necessary to report
>on
> > > >the various processes that mailscanner starts.
> > >
> > > Fancy trying the attached init.d script for me and tell me if you think
>it
> > > works. Goes okay on my system...
> >
> >
> > --------------------------------------------------------------------------
>--
> > ----
> >
> >
> > > --
> > > 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
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailscanner
Type: application/octet-stream
Size: 2577 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20020620/4a896414/mailscanner.obj
-------------- next part --------------
--
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