Procmail recipe: extracting matched text

Michael Still mikal at
Tue Dec 10 11:33:50 EST 2002


now that we're talking about regexps, I am having some troubles finding
documentation which covers the text matching in procmail.

Specifically, I have a rule like:

* List-Id.*<([^.]*).*>

Which should match any mailman mailling list, and then put the mail into a
folder named after the first portion of the list id.

However, $1 is clearly not the right way of getting to the text wrapped in

Can I please have a hint what is?



Michael Still (mikal at     UTC +11 hours

More information about the linux mailing list