procmail
[Top] [All Lists]

Re: Is there a way

2004-07-20 11:31:39
On Tue, 20 Jul 2004 12:58:17 -0500, David W. Tamkin 
<dattier(_at_)panix(_dot_)com> wrote:
   TRAP='sed -n "/^$/{h;s#^#Folder: $LASTFOLDER#;p;g;p;q;};p"'

This appears to dump the entire header of the message into the
LOGFILE, at least when I stuck the code in and ran a couple of
messages at it.

  LOGABSTRACT=off
  TRAP='formail -l "$LASTFOLDER"'

can you have multiple TRAPs?  Do the execute in the order they were declared?



-- 
gkreme at gmail or kreme at kreme or syth at mac

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>