MailScanner: Beta release 4.49.1 -- process name feature

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Fri Dec 9 11:15:06 GMT 2005


Jules

Further up - the BSD section at line 93...

elif $UNAME | $FGREP "BSD" >/dev/null ; then
    pid=`$PS -axww |
         $EGREP '[ ]('$msbindir/$process'|'$process'[:]' |
         $AWK '{print $1}'`

The ( after $EGREP '[ ] should not be there..

--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Julian Field
> Sent: 09 December 2005 11:07
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: [MAILSCANNER] MailScanner: Beta release 4.49.1 -- process
> name feature
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Most strange. It should say this:
> 
> else
>      # not BSD; everything else seems to do POSIX
>      pid=`COLUMNS=500 $PS -ef |
>           $EGREP '([ ]'$msbindir/$process')|'$process'[:]' |
>           $AWK '{print $2}'`
> fi
> 
> On 9 Dec 2005, at 11:02, Martin Hepworth wrote:
> 
> > Jules
> >
> > I did - I downloaded
> >
> > http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/MailScanner-
> > install-4
> > .49.1-2.tar.gz
> >
> >
> >
> > --
> > Martin Hepworth
> > Snr Systems Administrator
> > Solid State Logic
> > Tel: +44 (0)1865 842300
> >
> >> -----Original Message-----
> >> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> >> Behalf Of Julian Field
> >> Sent: 09 December 2005 10:53
> >> To: MAILSCANNER at JISCMAIL.AC.UK
> >> Subject: Re: [MAILSCANNER] MailScanner: Beta release 4.49.1 --
> >> process
> >> name feature
> >>
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >>
> >>
> >> On 9 Dec 2005, at 10:30, Julian Field wrote:
> >>
> >>>> Old Signed: 12/09/05 at 10:30:40
> >>>
> >>>
> >>> On 9 Dec 2005, at 09:36, Martin Hepworth wrote:
> >>>
> >>>>
> >>>>         [ -x /opt/MailScanner/bin/check_mailscanner ] &&\\
> >>>> /opt/MailScanner/bin/check_mailscanner > /dev/null && \\
> >>>> echo -n ' MailScanner'
> >>>> ;;
> >>>>
> >>>> Gives
> >>>>
> >>>> egrep: Unmatched ( or \(
> >>>>
> >>>> I guess this is line 93 in check_mailscanner that's the problem,
> >>>> with the
> >>>> '(' just before the '$msbinddir
> >>>>
> >>>> but carries on anyway...so that's a prob a side effect of the
> >>>> (perl) at the
> >>>> end of the ps output.
> >>>
> >>> I'll take a look.
> >>
> >> Download the -2 release, this should be fixed already.
> >>
> >>
> >> - --
> >> Julian Field
> >> www.MailScanner.info
> >> Buy the MailScanner book at www.MailScanner.info/store
> >> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> >>
> >>
> >> -----BEGIN PGP SIGNATURE-----
> >> Version: PGP Desktop 9.0.3 (Build 2932)
> >>
> >> iQEVAwUBQ5liK/w32o+k+q+hAQFDcwf/VlWSf6YHB/zsG1ioEr/fYpRWZbWLpjSS
> >> 5vtxR2GjrssKySLgoDl6AK0jpPvR52thYk1GMURE2dLHtK+Jco0P0T5/EadeYjb4
> >> Q34fISzA+gkdceyYpmVhNVpyQh46shsVJvEz3e261FElTioWRuLGEfECSGrXvWbm
> >> 6bVFCpd9YoiRRlf59E3N2dzHDavTzcXlVdsPxRBeXvMB0nFhvBjjt9Dgm7aGfwIY
> >> ELIF2hjfpaH5b5kNhfs+QXM3vN9V7nGcAbAH02ygoqhVSr8dVYs//efIOMoqNgyE
> >> G7CCYaCXvZttLzx7+yw5KAveESeElP1ZOXnG9wMbsHloZuxD96ao2w==
> >> =vr+B
> >> -----END PGP SIGNATURE-----
> >>
> >> --
> >> This message has been scanned for viruses and
> >> dangerous content by MailScanner, and is
> >> believed to be clean.
> >>
> >> ------------------------ MailScanner list ------------------------
> >> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> >> 'leave mailscanner' in the body of the email.
> >> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> >> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >>
> >> Support MailScanner development - buy the book off the website!
> >
> >
> > **********************************************************************
> >
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote confirms that this email message has been swept
> > for the presence of computer viruses and is believed to be clean.
> >
> > **********************************************************************
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >
> > Support MailScanner development - buy the book off the website!
> 
> - --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.0.3 (Build 2932)
> 
> iQEVAwUBQ5llVvw32o+k+q+hAQEwRwgAuedEEBJl+gFNsLiGZtxP29RFtr6Aaql/
> JsZK/S2bIdblyP9d5JG41iaygdEHoSWHhBMIvOd75EQCiw9sX2iBQZd9qH3cH2Lj
> jr35AR0hysEy8yAKhhOFODwIxCx0Y1avGOpMt8uxJPCCba2OlI7vr0Webg/0OpmU
> H6ycyZInDtxPfutC7Rb/WpE9G1LFxa8+3isI1Y4UNsxbJwQzxR5aAlHgObXu27Zg
> 5R6BbCZC93mgqSA4dsISD3dsBlPhnHVt00Q3+RDxacxUVH3Qg7HjSn1INn41W7fI
> nE451UEUx8eE0MbDTQx0DICcDzZroofOhoznDLpe7pYekuoNF8mDlg==
> =Es5O
> -----END PGP SIGNATURE-----
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!


**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list