Matthias Haeker wrote:
i want to insert a X-CHECK: header field in emails i receive.
when i use
:0
* !X-Check: IS
|formail -A "X-Check: IS" |/usr/sbin/sendmail -t
there is a new "Received: from" in the Received Email because
SENDMAIL resends the Email.
is there a way without resending the email with formail
to add a new header field ?
You can run formail as a filter, like this:
:0fh
* !^X-Check: IS
| formail -A "X-Check: IS"
--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/
____________________________________________________________
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