New release logging suggestions

Peter Peters P.G.M.Peters at civ.utwente.nl
Tue Sep 10 10:20:35 IST 2002


On Mon, 9 Sep 2002 16:33:52 -0400, you wrote:

>I would like to see some differant text in the log per email virus caught..
>I grep the maillog to see how many viruses caught so far that week. For
>instance, I currently tried 'tail -2000 /var/log/maillog | grep >>>Virus' of
>course the ">" symbols something that messes grep up and wont work. The only
>string that works best is just use the word Virus ( tail -2000
>/var/log/maillog | grep Virus ) Only thing is, it shows the mailscanner
>restarting every four hours lines as well as the viruses caught.

I usually have a number of "grep -v"'s follow the first grep to shift
out unwanted lines.

--
Peter Peters
senior netwerkbeheerder,  Centrum voor Informatievoorziening,
Universiteit Twente,   Postbus 217,  7500 AE  Enschede
telefoon: +31 53 489 2301, fax:+31 53 489 2383, http://www.utwente.nl/civ



More information about the MailScanner mailing list