On Sun Oct 04 2015 20:45:23 @lbutlr <@lbutlr> said:OK, I fixed various
typos and error and have something that is ALMOST working:
:0
* ARG ?? ^^alert^^
{
VERBOSE=ON
# SUBJECT=`formail -zx "Subject:"`
TRAP='mv "$LASTFOLDER" "${LASTFOLDER}:2,S"'
;0cfwh
BODYSUB=`formail -I ""`
:0 hfw
|formail -I"Subject: $BODYSUB"
:0
.alerts/
}
The trouble now is that BODYSUB begins with a <CR> so the subject shows up as
Subject:
The body txt is here.
--
I WILL NOT GREASE THE MONKEY BARS Bart chalkboard Ep. 7F17
____________________________________________________________
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