On Sat, Sep 30, 2006 at 07:59:42AM -0600, Gary V wrote: > > zgrep '^X-Envelope-To: ' /var/amavis/quarantine/spam-a* | grep 'mydomain.com' > | > cut -c 24-43 >>list > > zgrep '^X-Envelope-To: ' /var/amavis/quarantine/spam-b* | grep 'mydomain.com' > | > cut -c 24-43 >>list > > If I'm not mistaken, the first letter of the file name (after 'spam-') > could be lower case a-z, upper case A-Z or 0-9, so you could run this 62 > times (modified each time), but gathering from mail log may be more > desirable for reasons stated earlier. You may even want to split it up > into different files so you could control it a little better.
Better way would naturally be: find /var/amavis/quarantine/spam* -type f | xargs ... Cheers, Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/