mcafee-autoupdate.

Michael Baird mike at TC3NET.COM
Fri Dec 5 13:34:22 GMT 2003


Sure, for use in mailstats.pl, you must also have [ after the autoupdate
(or change the regexp in mailstats), empty braces will work, the perl
updaters would place the PID in between the braces.

logger -p mail.info McAfee-autoupdate[]: McAfee updated to version
$VERSION

Regards
MIKE

> 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
> >
>



More information about the MailScanner mailing list