[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] somewhat OT: re procmail or ??
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] somewhat OT: re procmail or ?? |
Date: |
Wed, 12 Sep 2012 09:40:10 -0400 |
address@hidden 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 address@hidden 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 address@hidden Wed Apr 25 08:45:53 2012
Subject: =?windows-1256?B?ztjDIN3k7SDezyDt3d7PIOPQ7drK7eQg3e0gx+E=?=
Folder: cspam
10811
From address@hidden Wed Apr 25 08:46:30 2012
Subject: Re: [arlington] Keep your eye on Concord today
Folder: /dev/null
5586
From address@hidden Wed Apr 25 08:49:23 2012
Subject: [Sugar-devel] [PATCH Help v2] Migrated to Gtk3 and WebKit.WebView
Folder: lapsug
8390
From address@hidden Wed Apr 25 08:49:54 2012
Subject: Re: [arlington] ISO Recommendation for someone to build front
stairs
Folder: /dev/null
5563
From address@hidden 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 address@hidden 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, address@hidden (arlington, ma, where it's 58.3 degrees)