mcafee-autoupdate.

Julian Field mailscanner at ecs.soton.ac.uk
Fri Dec 5 10:21:57 GMT 2003


I have implemented it like this:

+++ mcafee-autoupdate   2003-12-05 10:20:54.000000000 +0000
@@ -236,6 +236,7 @@
  esac

  say Completed OK
+run logger -p mail.info McAfee-autoupdate: McAfee updated to version
$VERSION 2>/dev/null
  run exit 0

  # done

Tony --- Does that look okay? I don't want errors if logger happens not to
exist.

At 10:07 05/12/2003, you wrote:
>If you're going to log, do it properly:
>
>logger -p mail.info McAfee-autoupdate: McAfee updated to version $VERSION
>
>Phil
>
>---------------------------------------------
>Phil Randal
>Network Engineer
>Herefordshire Council
>Hereford, UK
>
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Michael Baird
> > Sent: 03 December 2003 21:25
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: mcafee-autoupdate.
> >
> >
> > I noticed the mcafee-autoupdate doesn't write to syslog, when
> > it updates
> > the virus scanner (mailstats.pl uses this for it's statistics). It is
> > just a bash script, so I stuck in a logger line, with syntax matching
> > other updaters, if this functionality could be added into the main
> > updater that would be nice.
> >
> > run wget --passive-ftp --progress=dot:mega $FTPDIR/$TARFILE
> > run tar xvf $TARFILE
> > #### Added for mailstats.pl virus update time graphing #####
> > logger -p mail.info McAfee-autoupdate: McAfee updated
> >
> > Regards
> > MIKE
> >

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC  7222 11F6 5947 1415 B654



More information about the MailScanner mailing list