Re: logging Date, From To and CC?
"David W. Tamkin" <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Does anyone have a recipe (patch?) for logging Date From To and CC > when LOGABSTRACT is set?? Doesn't need a recipe, just an assignment: LOG="`formail -X From: -X Date: -X To: -X Cc:` " # closing quote on second line to enclose newline I'm guessing that by "From" you mean the RFC2822 From: rather than the envelope From; if you meant the envelope From, make that LOG="`formail -X 'From ' -X Date: -X To: -X Cc:` " # closing quote on second line to enclose newline or if you want to log both, LOG="`formail -X From -X Date: -X To: -X Cc:` " # closing quote on second line to enclose newline