On Wed, Jun 14, 2000 at 12:12:18PM -0500, David W. Tamkin wrote:
John Poltorak asked,
| Can someone give me a recipe for creating a list of Subjects from a
| mailbox if this is possible?
You'd need a command, not a recipe, because a recipe would operate on only
one message at a time (or treat the entire mailbox as a single message).
formail -zxSubject: -s < mailbox
If you want the output to preserve the word "Subject:" on each one,
formail -XSubject: -s < mailbox
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
procmail mailing list