Doctor(_at_)netcom(_dot_)com (The Doctor {Who?}) writes:
I've tried one I had from a library, but it doesn't seem to work under
procmail 3.11pre4. (It seemed terribly complicated, and for some reason, is
bringing the included rc's filepath as part of the string to match on.)
(*) Basically, this is to say either of these:
address(_at_)system(_dot_)net
address(_at_)system(_dot_)net (Nick Name)
Nick Name <address(_at_)system(_dot_)net>
I need ONLY the "address(_at_)system(_dot_)net" part of the samples above
parsed out.
errrrr. Formail to the rescue:
echo 'From: Nick Name <address(_at_)system(_dot_)net>' | formail -rtz -xTo:
gives me:
address(_at_)system(_dot_)net
Soren