procmail
[Top] [All Lists]

a problem regarding procmailrc

2002-05-07 04:19:17
Hi .
      I have to extract sender's mail id and have to pass it to a script.
right now i am using .
WHOFROM = `formail -xFrom:`   for this purpose but since in my mails from
header have name along with e-mail i.e.
 From: "ali imran" <aliimran(_at_)rediffmail(_dot_)com> , so above formail 
statement
extract whole thing, i mean name as well as e mail id.

But i want only email id i.e. aliimran(_at_)rediffmail(_dot_)com to be stored in
WHOFROM .
How can i do it . ?

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