nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] somewhat OT: re procmail or ??

2012-09-14 07:46:38

If not, does anyone have patches for logging e.g. date, from, to?

As per a procmail ML conversation, I cooked up this procmail supermagic...

LOG="`formail -X From: -X Date: -X To: -X Cc: | sed 's/^/ /g'`
"

yields e.g...

 Date: Fri, 14 Sep 2012 07:44:56 -0500
 From: rader(_at_)hep(_dot_)wisc(_dot_)edu
 To: rader(_at_)hep(_dot_)wisc(_dot_)edu
 Subject: hallo pooh
  Folder: rcvstore +inbox                                                  1048

steve
--


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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