procmail
[Top] [All Lists]

Re: Setting different FROM when using formail -rt ?

1997-10-10 13:10:09
Jari Aalto asked,

|         When I compose reply with
| 
|         :0 fh
|         | formail -rt
| 
|         I would like the "From" field say
|                 From: jari(_dot_)aalto(_at_)poboxes(_dot_)com
|         instead of my current email address, where this virtual poboxes.com
|         is currently pointing. Eg. Now the -rt says
|                 From: jaalto(_at_)tre(_dot_)tele(_dot_)nokia(_dot_)fi
|         Which is not what I would like to see in response sent from my
|         procmail servers.

     :0fh
     | formail -rt -I "From: jari(_dot_)aalto(_at_)poboxes(_dot_)com"

will do it; but the question is why do you want to do this?  If your goal is
to set a return address that differs from the sending address, it belongs in
Reply-To:, not in From:, like this:

     :0fh
     | formail -rt -I "Reply-To: jari(_dot_)aalto(_at_)poboxes(_dot_)com"

DWT
I'll be off-line until late Sunday 10/12/97 or Monday 10/13/97; private mail
arriving before then will get a vacation message.