procmail
[Top] [All Lists]

Re: Extracting substring from formail -rzx "To:"

2004-06-29 11:14:36
At 12:34 2004-06-29 -0500, Lee Hoffner wrote:

procmail log: Assigning "ADDRESS="Jim Bernardi" 
<jbernardi(_at_)23skidoo(_dot_)net>").
This is tripping up the perl script, which is matching $ADDRESS to a MySQL db
that contains only email addresses without names.

Can't modify the perl script to spot and focus on <bracketed> addresses?

How can I ensure that ADDRESS contains only the email address, losing any
proper name that might be in front of it?

Refer to the CLEANADDR stuff in my sandbox example. I've not known it to fail in this fashion.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail