mcafee-autoupdate.

Randal, Phil prandal at HEREFORDSHIRE.GOV.UK
Fri Dec 5 10:07:04 GMT 2003


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