Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Bulk add new smtp domain to existing user accounts

Posted on 2007-11-19
8
Medium Priority
?
734 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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 antispam), the admini…
Suggested Courses

722 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