nmh-workers
[Top] [All Lists]

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

2012-09-11 14:10:55

I mean, is there something better?
If not, does anyone have patches for logging e.g. date, from, to?

Setting LOGABSTRACT=yes in your procmailrc will give you received date,
subject, and from in the log.  You can also enable verbose logging, but
unsure if that will give you what you want (or it will give you too
much).

LOGABSTRACT=yes with procmail-3.22-17 (RHEL/SL) only gets me Subject and
Folder.  Is there a new version around I didn't find??  (I only glanced 
and saw "3.22" and a msg to "the" ML bounced.)


I think for anything else, you will need to write a recipe to call a
script that can log whatever headers you want to a custom log file.

I was thinking of patching procmail directly so LOGABSTRACT=yes logs
Date/From/To/cc/Subject header lines.  Kinda thinking other prehistoric
creatures might also like that?

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>