procmail
[Top] [All Lists]

Rewriting From: and Subject:

2000-09-19 05:29:38
Hi all !

Sorry if this is a FAQ, but I didn't find anything which led me
further, so I'm posting here.


I want to rewrite the From:-Field of a Mail, but I want to append the
old From: to the subject....

I tried this, but it only moves the mail into "osubj"...


:0fh
* Subject: \/.*
osubj = $MATCH
* From: \/.*
| formail -I "From: niemand(_at_)nirgends(_dot_)de" -I "Subject: Wichtig: 
$osubj"


Whats my mistake ???

Thanks for your answers !!

/Florian Meyer-Kassel
online shop ag
71088 Holzgerlingen



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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