Hi,
Every so often for the last couple of years I'll have
a problem and I'll think "procmail would be perfect
for this", and then I'll try to figure it out. And
fail.
Does anybody have a recipe to take a piece of e-mail,
change the header (new From:, Organization:,
Reply-To:, for example), and then send it on to some
address based on where the message has been sent.
This would be the other half of a virtual-domain
e-mail forwarding service.
Example: I send e-mail from my account
sarah_h_11217(_at_)yahoo(_dot_)com to someuser;somedomain(_at_)foo(_dot_)com
The foo.com domain is is set up to forward _all_
incoming mail to procmail(_at_)foo(_dot_)com, regardless of who
at foo.com it has been addressed to. The
'processmail' account in turn has a .forward that
calls procmail.
The question is if any body has a recipe that can,
from the information in the from:
(sarah_h_11217(_at_)yahoo(_dot_)com) line and too line
(someuser;somedomain(_at_)foo(_dot_)com), clean up the e-mail so
that it looks like it came not from (in his case)
yahoo, but from another domain, and then send on the
cleaned-up e-mail to someuser(_at_)somedomain?
Is this question too involved for this list? If it
is, any procmail-literate consultants who are
available for hire are encouraged to contact me...
Thanks
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com