Thus spake Tyler Creelan (creelan(_at_)engr(_dot_)orst(_dot_)edu) [10/07/03
We have a couple of recipes in places that re-write the 'From' address of a
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?
| 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:
| sed s/old\(_at_)address(_dot_)com/new\(_at_)address(_dot_)com/g
works perfectly for me.
procmail mailing list