procmail
[Top] [All Lists]

RE: Detecting sender's name

2001-03-06 10:13:14

This will work, but it is 4 processes and does not account for some folks
(*cough* AOL *cough*) who only have an email address and do NOT have a name on
the From: line, so you could end up with nothing

REALNAME=`formail -xFrom: |\
        tr -s ' ' '\012' |fgrep -v '@' | tr -s '\012' ' '`

_______________________________________________
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>