james8288 has asked for the wisdom of the Perl Monks concerning the following question:
hi, i'm very new to Perl and have the following task to accomplish..
An OS command returns the following text.
user@abc.com is the user's primary email address and the others are aliases.. We have a need to convert the mail domain from abc.com to xyz.com. And in order to convert, I need to use the following linesSMTP-Address: [user@abc.com] [user-1@abc.com] [user-2@abc.com]
SMTP-Address: [user@xyz.com] [user-1@xyz.com] [user-2@xyz.com] EOF
as input to an OS command that will modify the user's email addresses with the new xyz.com domains..
note that not every user will have 3 email addresses.. some only one, some 5, some 8,etc,etc..
all help will be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: email domain changing
by Chady (Priest) on Jul 12, 2001 at 18:12 UTC | |
by Anonymous Monk on Jul 12, 2001 at 18:23 UTC | |
by james8288 (Initiate) on Jul 12, 2001 at 18:23 UTC |