Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Bulk add new smtp domain to existing user accounts

Posted on 2007-11-19
8
Medium Priority
?
738 Views
Last Modified: 2008-05-31
We need to add a new primary smtp domain to for all users and are looking at the easiest way of doing this. We need to keep the left-hand -side name the same as the existing (joe.bloggs1@olddomain.com will change to joe.bloggs1@newdomain.com).

Is there a way for us to run a script that will read "joe.bloggs1" portion and create a new joe.bloggs1@newdomain.com ?
0
Comment
Question by:ericdaly
8 Comments
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 150 total points
ID: 20314045
Is the part before the @ sign manually generated on each account, or is it just a complex recipient policy? If it's just in recipient policy, you could easily copy in the settings used for your old domain to a new entry, with all the variables and parameters (but with the @newdomain.com), then let it apply to users.

If you've manually generated all the bits before the @ sign though, then you'll have to get someone to write you a script...

-tigermatt
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20314076
Thanks tigermatt,
     Its is a bit of a mess to be honest as alot of manually modifed addresses exist so proagating a new domain policy does not suit. Approx 8500 users.

We are working on a script but very messy to get right.
0
 
LVL 12

Assisted Solution

by:Network_Data_Support
Network_Data_Support earned 450 total points
ID: 20314353
crate a recipent policy

%g.%s@newdomain.com

and then apply it to to all users
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
LVL 5

Assisted Solution

by:JohnDemerjian
JohnDemerjian earned 150 total points
ID: 20314506
ericdaly

i did this exact thing a while back and i thought i had the whole routine but i can't find it.  i'll take a look for you at home if you tell me you are still looking for a solution.  in the mean time, take a look at this...

http://www.activedir.org/article.aspx?aid=143
0
 
LVL 12

Assisted Solution

by:Network_Data_Support
Network_Data_Support earned 450 total points
ID: 20314548
0
 
LVL 104

Accepted Solution

by:
Sembee earned 750 total points
ID: 20317146
Based on the above, what I would do is extract what you have using the above tools.
Then copy the email address column to a new column for the second address. Do a find and replace on that column to change the email domain and then re-import. Get it right, nothing else changes.

Simon.
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20323712
Thanks for all your input guys. After hours of toying around I came up with an excel spreadsheet that contains formulas that can create a command that we place in a batch file which in turn updates the primary smtp field.
If you would like a sample of this please PM me.
0
 
LVL 1

Author Comment

by:ericdaly
ID: 20323733
or email me !
eric.daly at gmail dot com
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question