Thus spake Tyler Creelan (creelan(_at_)engr(_dot_)orst(_dot_)edu) [10/07/03
17:06]:
We have a couple of recipes in places that re-write the 'From' address of a
message,
but as it stands right now, they will also re-write the address in the body
of a message.
How exactly are you calling formail? It shouldn't be rewriting anything
in the body if you tell it not to. For example, does the recipe below work?
:0fw
| formail -I"From: foo(_at_)bar(_dot_)com"
We're using sed for this, not formail. Since we need to re-write *all*
ocurrences of it in the header, from various clients, so we figured just
using sed would be easiest.
As I stated, using:
:0Hhfw
| sed s/old\(_at_)address(_dot_)com/new\(_at_)address(_dot_)com/g
works perfectly for me.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail