rader(_at_)hep(_dot_)wisc(_dot_)edu wrote:
> >Am I dinosaur for still using procmail??
> >I mean, is there something better?
> >If not, does anyone have patches for logging e.g. date, from, to?
> >OMG, it just occurred to me: maybe it's INFERIOR to slocal these days!?!?
> >:)
>
> No patch needed.
>
> >From my .procmailrc (The first LOG call is to get an empty line
> between entries):
>
>
> LOGFILE=$MAILDIR/log
> LOG="
> "
>
> [...]
>
> #
> # Log date
> #
> DATE=`/bin/date`
> LOG="$DATE
> "
I'm mostly interested in answering the question "which folder did
the recent msg FROM so-and-so@somewhere go into?" So, really, I
still think a patch is needed.
i run routinely with verbose procmail logging turned on, because
debugging after the fact is hard otherwise. i just ran this command
on my verbose log:
egrep '^From |^ Subject|^ Folder' ~/Mail/procmail_log._nobackup_
and here's a snippet of the output:
From speeed150+bncCMihoqngBhDn49_8BBoEKVpHeg(_at_)googlegroups(_dot_)com
Wed Apr 25 08:45:53 2012
Subject: =?windows-1256?B?ztjDIN3k7SDezyDt3d7PIOPQ7drK7eQg3e0gx+E=?=
Folder: cspam
10811
From arlington-bounces(_at_)arlingtonlist(_dot_)org Wed Apr 25 08:46:30
2012
Subject: Re: [arlington] Keep your eye on Concord today
Folder: /dev/null
5586
From sugar-devel-bounces(_at_)lists(_dot_)sugarlabs(_dot_)org Wed Apr 25
08:49:23 2012
Subject: [Sugar-devel] [PATCH Help v2] Migrated to Gtk3 and WebKit.WebView
Folder: lapsug
8390
From arlington-bounces(_at_)arlingtonlist(_dot_)org Wed Apr 25 08:49:54
2012
Subject: Re: [arlington] ISO Recommendation for someone to build front
stairs
Folder: /dev/null
5563
From linux-pm-owner(_at_)vger(_dot_)kernel(_dot_)org Wed Apr 25 08:55:28
2012
Subject: Re: [PATCH 2/3] IRQ: allow check_wakeup_irqs to notice
level-triggere
Folder: lappow
6773
From
mail-ctg0aeb62aadq3oqnug2xbhzp5fmacta(_at_)insiders(_dot_)miniusa(_dot_)com
Wed Apr 25 08:57:18 2012
Subject: MINI vs. The Competition in a test drive battle for the ages.
Folder: mini
i'm going to add a "Filtered date:" line to the log, using christer's trick.
paul
=---------------------
paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma,
where it's 58.3 degrees)
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers