Professional Software Engineering skribis:
Derek Yuen:
I was checking the mail list archives, but I'm still a bit confused.
Hmm, perhaps 'man formail' would be of help?
I was wondering how i can use either formail or procmail to strip the
"From:" header and use another header "X-FC-Forwarded-From:" as the
From header?
OLDFROM=|formail -xFrom:
: 0hf
| formail -I "From:" -I "X-FC-Forwarded-From: $OLDFROM"
What I read was that DY wants to put the value (of the
X-FC-Forwarded-From:) in the From: header.
ORGFROM=|formail -xX-FC-Forwarded-From:
: 0hf
| formail -I "X-FC-Forwarded-From:" -I "From: $ORGFROM"
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail