procmail
[Top] [All Lists]

Changing From: headers

2001-08-03 00:45:39
I'd like to set up a filter that will detect messages "From:" certain known
addresses then use formail to replace those headers. Specifically, I receive
mail from several individuals via their cell phones and two-way pagers. I'd
like to replace the address of their two-way device in the From: line with
their regular email address.
Instead of having a seperate recipe for each person, I'd like to store the
device addresses and "real" address in an external file that procmail will
reference. Something like

XXXXXXXXXX(_at_)mobile(_dot_)att(_dot_)net      address(_at_)domain(_dot_)tld

I'd prefer to do this in sh rather than perl. I'm sure I've seen very similar
things here before.

-- 
Andrew Edelstein        -       andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
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>