procmail
[Top] [All Lists]

Re: Procmail as reporting tool

2000-06-14 10:20:07
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

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>