procmail
[Top] [All Lists]

from addresses w/o real names

2001-01-07 15:58:53
Hi,

I use several different email clients but mostly mailx on Solaris.
When I get mail from a user who does not use their real name in the 
gecos field, I get garbage if it's from a list.  What I'd like to do
is use their email address in the angle-brackets.

For example, if I did this my From: address would look like this:

   From: dave(_at_)geol(_dot_)ucsb(_dot_)edu

I want to test if there isn't an angle-bracketed name and
if so, change the user's From: address to look like:

   From: dave(_at_)geol(_dot_)ucsb(_dot_)edu 
<dave(_at_)geol(_dot_)ucsb(_dot_)edu>

Is this a prudent thing to do?  Thanks for any help.

Dave Robbins

--
p.s.  Hey, what goes with procmail's -v option when using head or even grep?

   % procmail -v |head -1
   procmail v3.14 1999/11/22, Copyright (c) 1999, Stephen R. van den Berg
                                                           
<srb(_at_)cuci(_dot_)nl>

   Submit questions/answers to the procmail-related mailinglist by sending to:
           <procmail-users(_at_)procmail(_dot_)org>

   And of course, subscription and information requests for this list to:
           <procmail-users-request(_at_)procmail(_dot_)org>

   Locking strategies:     dotlocking, fcntl(), lockf()
   Default rcfile:         $HOME/.procmailrc
   Your system mailbox:    /var/mail/dave
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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