procmail
[Top] [All Lists]

Re: Need a formail trick or alternative

1998-12-09 07:52:11
On 9 December 1998, era eriksson <era(_at_)iki(_dot_)fi> wrote:
On Tue, 8 Dec 1998 17:25:57 -0500, "W. Wesley Groleau x4923"
<wwgrol(_at_)ftw(_dot_)rsc(_dot_)raytheon(_dot_)com> wrote:
 > I have noticed that the real sender's name and e-mail address are
 > visible in "Reply-To:" and the "From:" usually has the sender's
 > "real" name in quotes followed by the owner-list(_at_)site(_dot_)domain Is
 > there a way to get formail (or something else) to "fix" this bogus
 > setup?

If by "'fix'" you mean copy the Reply-To: data to the From: line, try
this:

    :0fhw
    * ^Reply-To:\/.*
    | formail -I "From: $MATCH"

This can be varied with other field names, of course. If you want
something more complicated, you have to be more explicit about how you
want this "'fixed'".

    However, please note that the world of e-mail is populated with a
resplendent diversity of animals, some (valid) messages may have more
than one "Reply-To:", others may contain something like "Reply-To:
address1, address2"...

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   daia(_at_)stoilow(_dot_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

<Prev in Thread] Current Thread [Next in Thread>