procmail
[Top] [All Lists]

Re: Procmail log intelligibility

2002-05-31 03:03:14
On Thu, May 30, 2002 at 07:24:12AM -0700, Bart Schaefer wrote:
How about this?

TEMPLOGFILE=$HOME/procmaillogtmp.$$
REALLOGFILE=$HOME/procmail.log

LOGFILE=$TEMPLOGFILE
TRAP="procmail -p DEFAULT=$REALLOGFILE /dev/null < $TEMPLOGFILE"


Seems like that would handle all synchronization issues nicely.


   Yes! Works like a bought one!

   As a side benefit, the desired blank line delimiter is inserted even
without the

LOG="
"

 ... and it appears between records, not three lines late.

Now I can flick between clean log records, using "}" in Vim.  :-))


Many Thanks, Experts!

Erik Christiansen

   
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail