procmail
[Top] [All Lists]

Re: Need a formail trick or alternative

1998-12-09 03:11:10
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'".

Hope this helps,

/* era */

-- 
.obBotBait: It shouldn't even matter whether    <http://www.iki.fi/~era/>
I am a resident of the state of Washington. <http://members.xoom.com/procmail/>

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