On Tue, Jun 22, 2004 at 08:25:55PM +0100, Craig Tinson wrote: > Date: Tue, 22 Jun 2004 20:25:55 +0100 > From: Craig Tinson <craig@xxxxxxxxxx> > To: fedora-list@xxxxxxxxxx > Subject: *nice* maillog output > Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> > > 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 ??? grcat Is this grcat as in /usr/libexec/awk/grcat > > is there an obvious/easy way to trim it.. for example: > > Jun 22 - (20:19:26) Mail From: <someone@xxxxxxxxxxxxxx> to > <craig@xxxxxxxxxx> (Clean) > Jun 22 - (20:20:30) Mail From: <someone@xxxxxxxxxxxxxx> to > <craig@xxxxxxxxxx> (Spam) How about sed and awk/gawk. -- T o m M i t c h e l l /dev/null the ultimate in secure storage.