[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] problem with how mail is forwarded



"_ cbtrussell _" <cbtrussell@xxxxxxxxxxx> wrote:
> I like to forward messages from some accounts to my mobile phone on
> occasion. A .forward file works fine for this, except that when the phone
> company sends a confirmation back, it goes all the way back to the
original
> sender of the message.
>
> Is there a way to use procmail or similar to eliminate this characteristic
> of forwarded mail?

You'll have to experiment to find out if your telco replies to the reply-to
header (if it exists), but in either case you can drop the .forward and add
a procmail rule to deliver to your mobile email address.  The trick is to
pipe the email through formail to either rewrite the from header (if
reply-to isn't respected) or add a reply-to header and in the former case
have procmail add the email address from the original from header to the
body of the email or another header (like from-original) that you can view
over the phone.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/