Thanks! It works (I used the ammended version you sent). Of course, I'm
not at all sure how or why it works (I'm a novice Procmail user).
One thing that immediately confused me was your indentation and line
breaks. Why are all lines except for the ones that begin with quotes
indented by a space? And why is there a return before them? Is this so
that a line break is included in the logs? I guess there isn't
something \n that could be used instead?
Thanks!
Jen
On Wed, 2002-04-03 at 11:41, David W. Tamkin wrote:
Jenny asked,
| Also, I noticed that the procmail log doesn't include the originating
| message IDs. Is there a way to get it to do this?
Normally, I'd answer,
TRAP=`formail -XMessage-Id:`
but I think you'd be better off having the ID logged before procmail did
anything else rather than when it was finished, so instead, at the top of the
rcfile
LOGFILE=wherever
:0
* ^\/Message-Id:.+
{ LOG="$MATCH
" }
:0Efwh
| formail -a Message-Id:
:0a
* ^\/Message-Id:.*
{ LOG="$MATCH generated by procmail
" }
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail