procmail
[Top] [All Lists]

Re: insert a X-header without resending the mail

2005-07-27 09:31:23
Matthias Haeker wrote:

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"

   


if i do the eamil got lost the only remainig are some lines in the 
procmail.log ?
 

Ooops, forgot the "w" flag (f = filter, h = process headers only, w = 
wait for filter to complete)

:0fhw

--
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