[email protected] 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 [email protected]  Wed Apr 25 
08:45:53 2012
     Subject: =?windows-1256?B?ztjDIN3k7SDezyDt3d7PIOPQ7drK7eQg3e0gx+E=?=
      Folder: cspam                                                           
10811
    From [email protected]  Wed Apr 25 08:46:30 2012
     Subject: Re: [arlington] Keep your eye on Concord today
      Folder: /dev/null                                                        
5586
    From [email protected]  Wed Apr 25 08:49:23 2012
     Subject: [Sugar-devel] [PATCH Help v2] Migrated to Gtk3 and WebKit.WebView
      Folder: lapsug                                                           
8390
    From [email protected]  Wed Apr 25 08:49:54 2012
     Subject: Re: [arlington] ISO Recommendation for someone to build front 
stairs
      Folder: /dev/null                                                        
5563
    From [email protected]  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 [email protected]  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, [email protected] (arlington, ma, where it's 58.3 degrees)

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to