[KLUG Members] method of grep list of .gz files?

Richard Harding rick at ricksweb.info
Wed Nov 24 22:44:09 EST 2004


Never mind, just grepping the files as if they were normal text files 
searched the headers for who the messages were to. I am sorry to waste 
everyone's time...guess I need more sleep. :-)

Rick

Richard Harding wrote:

> I have set up a postfix mail server with amavis-new and spamassassin 
> and it quarantines spam and saves them as these spam-MESSAGSEID.gz 
> files. I want to check and see if any of these are from a specific 
> user account and am looking for a way to grep USERNAME *.gz in that 
> directory.
>
> I had seen on another site using zcat for some messages, but it 
> doesn't work for .gz files. Does anyone know a way I can accomplish 
> this short of unzipping all of the files into /tmp and then greping 
> them all from there?
>
> Thanks
>
> Rick
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 




More information about the Members mailing list