procmail
[Top] [All Lists]

Re: How do I extract the "Subject"

1996-07-26 20:12:57
Rajiv Baronia followed up, 

| Thanks to Guy Geens and David W. Tamkin, I have found the solution.

Glad to have helped.

| In my situation, however, the solution suggested by David works better
| for me, as I do not have new formail. Also as David pointed out - it saves
| a process.

Depending on how you use the variable containing the subject, the -z option
of formail might not be that important.  Leading space might get safely
stripped out at execution time.

Still, saving a process tips the balance toward using extraction if you can,
even if you had specifically wanted to preserve leading space (as you could
with 

 * ^Subject:\/.*

as the extracting condition).

DWT

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