*nice* maillog output

Ted Gervais ve1drg at av.eastlink.ca
Tue Jun 22 19:45:13 UTC 2004


On Tue, 2004-06-22 at 16:25, Craig Tinson wrote:
> this is probably asking a bit much.. but no harm in asking..
> 
> I currently have a spare 14" monitor connected to the mail server so I 
> can monitor whats going on..
> 
> it is permanently running the following:
> 
> tail -f /var/log/maillog | grcat conf.log


Just wondering what the grcat does or is??


> 
> this displays the following in various colors:
> 
> Jun 22 20:19:26 www spamd[19421]: processing message 
> <200406222219.09205.blogs at joe.com> for craig at 8010.co.uk:510.
> Jun 22 20:19:27 www spamd[19421]: clean message (-4.8/5.0) for 
> craig at 8010.co.uk:510 in 1.4 seconds, 3206 bytes.
> Jun 22 20:20:20 www spamd[2904]: connection from localhost.localdomain 
> [127.0.0.1] at port 33969
> Jun 22 20:20:20 www spamd[19441]: processing message 
> <200406221521.59668.joe at blogs.com> for craig at 8010.co.uk:510.
> Jun 22 20:20:23 www spamd[19441]: clean message (-3.9/5.0) for 
> craig at 8010.co.uk:510 in 2.1 seconds, 3484 bytes.
> 
> 
> etc etc
> 
> this is more info than I need and just clutters up (and wraps around) on 
> the 14" monitor..
> 
> is there an obvious/easy way to trim it.. for example:
> 
> Jun 22 - (20:19:26) Mail From: <someone at somedomain.com> to 
> <craig at 8010.co.uk> (Clean)
> Jun 22 - (20:20:30) Mail From: <someone at somedomain.com> to 
> <craig at 8010.co.uk> (Spam)
> 
> colored and columned?
> 
> I know this is asking a bit much.. but thought I'd ask...
> 
> Cheers
> 
> Craig
> 
> 
> 
> 
-- 
Ted Gervais
Coldbrook, Nova Scotia
Canada.






More information about the fedora-list mailing list