Many thanks for this, it's just what I was looking for.
Just wondered if it's possible to extract two lines such as
Subject and X-Mailer... I tried but didn't find a way of
doing it.
I'd use egrep;
egrep -i '^X-Mailer:|^Subject:' <mailbox
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail