procmail
[Top] [All Lists]

blank 'From: ' lines

1996-01-25 11:21:52

Several friends of mine have account setup (not by them but their sys
admin) where their names do not appear.  This was fine when there was one
or two, but now I'm getting 8-10 of these a day and it is a little
annoying. 

Example:
From: "" <S21001CA(_at_)umassd(_dot_)edu>
instead of
From: "Real Name"  <S21001CA(_at_)umassd(_dot_)edu>


I was wondering   if I might use formail to hack/match their 'from ' line 
into a receipe which would change their 'from:' line.

I was thinking of doing something like this:

FROM=`formail -xFROM:`

:0:
*^From S21001CA(_at_)umassd(_dot_)edu
{
        :0fhwc
        | formail -I "From: Real Name $FROM"
}

HOWEVER, that isn't good because their original 'From: ' line has two " 
marks, and I am afraid that will screw something up if I try it gwith my 
little hack above.

So, I was hoping someone else had dealt with this same problem and had 
some advice for me.

Thanks!
TjL

--
Timothy J. Luoma <luomat(_at_)capitalist(_dot_)princeton(_dot_)edu> 



<Prev in Thread] Current Thread [Next in Thread>
  • blank 'From: ' lines, Timothy J. Luoma <=