[nylug-talk] rewrite for received mail?

Henning Follmann hfollmann at itcfollmann.com
Tue Oct 9 10:00:11 EDT 2007


On Tue, Oct 09, 2007 at 09:50:19AM -0400, Seth Rothenberg wrote:
> I have this message in my inbox...
> it's not for me, but for a family member
> who thought a forwarding rule was in place.
> 
> In any case, I would like to discretely reroute it.
> 
> Anyone have a 1-2 how-to on that?
> 
> Should I just use mail or mailx and put
> new impersonated message headers in the
> first few lines of the text...and hope it looks right?
> (I can test that :-)
> 
> The recipient is not a power user who will View All Headers.
> Also, hope to do this within a couple hours.
> 
> Thanks
> 
> 

You just could pipe it through sendmail and set the from address with -f
(man sendmail).

But some mailer reject mails from users overwriting the from address.

I assume you have the rights to change that on your system.
:-)


Henning


-- 
Henning Follmann           | hfollmann at itcfollmann.com
it consultant              | www.itcfollmann.com



More information about the nylug-talk mailing list