procmail
[Top] [All Lists]

Canonicalizing addresses

1995-10-18 10:27:40
Is there a simple way to canonicalize an email address by adding
"@dom.ain" to the user name if it's not already there?

I'd like to be able to perform transformations like:

bobw (Bob Weissman)     =>      bobw(_at_)lore(_dot_)kla(_dot_)com (Bob 
Weissman)
Bob Weissman <bobw>     =>      Bob Weissman 
<bobw(_at_)lore(_dot_)kla(_dot_)com>

inside an rc.local.s20 script of a SmartList list.

Thanks,
== Bob

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