procmail
[Top] [All Lists]

Re: "Atomic" updates to the LOGFILE...

2002-07-26 12:52:03
Michael J Wise wrote:

Probably best to set LOGABSTRACT to 'no', emit the Subject line myself
('cause I already emit the From: line), and then use TRAP to emit the
LASTFOLDER variable, plus a blank line (for most-of-the-time readability).
Hmmm. 'This Could Work...'.

      TRAP='echo "$LOGPREFIX Folder: $LASTFOLDER"'

The Results So Far look very promising:

        1027711794.2699 From: mjwise(_at_)lava(_dot_)net
        1027711794.2699 Subject:  boo
        1027711794.2699 Folder: /var/mail/mjwise

Too bad I'll have to rewrite a bunch of rules based on the multi-line
hack that has so far been working so well.

It would still be 'Nicer' to have the whole session buffered until the
end of ... waitaminute.

Why not just write out everything at the end from the TRAP?

Hmmm...

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

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