+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Changing MSExchange 2007 Recipient Addresses in Technical; In a rush of sudden enthusiasm I have taken on some extra work for a neighboring school and I have ...
  1. #1


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Changing MSExchange 2007 Recipient Addresses

    In a rush of sudden enthusiasm I have taken on some extra work for a neighboring school and I have inherited an exchange 2007 box. This is now a little out of my territory having been playing with postfix/zimbra so long.
    Under normal circumstances I would just rip out the exchange and put in something else, I am not allowed to on this occasion.

    What I do need to do is to change the recipient addresses of all the users.
    They are currently mail.school.sch.uk but they are changing to brandnewacademy.sch.uk

    I have got the LEA setup MX records for brandnewacademy.sch.uk which points to this new exchange server.

    I was about to run this script on each OU to set the primary smtp address, because this is how I told our AD where our zimbra accounts were.

    Code:
    Set objParent = GetObject("LDAP://ou=users,OU=school,DC=sch,DC=uk")
    
    objparent.Filter = Array("user")
    
    
    
    for each objUser in objParent
    
      'Wscript.Echo "Modifying " & objUser.Get("sAMAccountName")
    
    	objUser.put "mail", objUser.Get("sAMAccountName") & "@brandnewacademy.sch.uk"
    
    	objuser.put "targetAddress","SMTP:" & objUser.Get("sAMAccountName") & "@brandnewacademy.sch.uk"
    
    	objuser.put "proxyAddresses", "SMTP:" & objUser.Get("sAMAccountName") & "@brandnewacademy.sch.uk"
    
    objuser.Setinfo
    
     
    
        
    
    next
    
    Wscript.Echo "Done ;)"
    But I think there is probably more to exchange than this?

    I was reading here;
    According to Defining an Exchange 2007 E-Mail Address Policy, Part 2

    but am still unsure how to proceed as that seems to be for new users?

    any pointers please.

  2. #2

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,037
    Thank Post
    160
    Thanked 908 Times in 712 Posts
    Blog Entries
    3
    Rep Power
    270
    Hi,

    You could go to Organization Configuration | Hub Transport and click on "New Email Address Policy"

    Follow the wizard, selecting the option for "All Users" i believe the next screen will the ask you if you would like to filter the users i.e. select an OU etc

    If you wish to apply it too all users and not filter it any further (which i am guessing you will want to do) just click next, then a screen will prompt you to input the policy

    Select "Email Address Local Part" and then weather you want it to use there alias or firstname.lastname etc and then type in your new FQDN and then click okay.

    On the next screen it should ask you when you would like to apply the update, and then pick an appropriate time.

    doing it this way will keep the users previous email addresses just incase someone has it in history but will set there new primary receiptent address to the one you have set in the policy.

    Hope that helps, any problems give us a shout

    James

    Edit - Sorry! Just read that website you linked too! lol yes follow that tutorial it will apply it to existing users also as far as i understand from doing this previously

  3. Thanks to EduTech from:

    CyberNerd (8th October 2009)

  4. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Edit - Sorry! Just read that website you linked too! lol yes follow that tutorial it will apply it to existing users also as far as i understand from doing this previously
    I wasn't really sure if this is what I was supposed to be doing. so thank you.

    I will try on an OU of one person, test, test and test some more.

  5. #4

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,037
    Thank Post
    160
    Thanked 908 Times in 712 Posts
    Blog Entries
    3
    Rep Power
    270
    Quote Originally Posted by CyberNerd View Post
    I wasn't really sure if this is what I was supposed to be doing. so thank you.

    I will try on an OU of one person, test, test and test some more.
    No problems mate, let us know how you get on and if you come accross any problems

    James.

  6. #5

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,088
    Thank Post
    402
    Thanked 618 Times in 565 Posts
    Rep Power
    180
    Interesting point. How do some organisations have first.name@theirdomain.co.uk and iniitialsurname@theirdomain.co.uk running side by side?

    E.g Fred.Jones@domain.co.uk and fjones@domain.co.uk both go to the same place. Surely they don't have duplicate accounts?

  7. #6

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,644
    Thank Post
    858
    Thanked 645 Times in 428 Posts
    Rep Power
    498
    You can add addition SMTP addresses to mailboxes - but not sure how you do that en masse as i have done it only on shared mailboxes TBH...

    I have a hub transport email addy policy that changes users emails from jbloggs@domain.co.uk to joe.bloggs@domain.co.uk

  8. #7


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by Edu-IT View Post
    Interesting point. How do some organisations have first.name@theirdomain.co.uk and iniitialsurname@theirdomain.co.uk running side by side?

    E.g Fred.Jones@domain.co.uk and fjones@domain.co.uk both go to the same place. Surely they don't have duplicate accounts?
    they would be called aliases on our (postfix) relay I have several aliases setup for myself ( BOFH and CyberNerd both go to me !)

  9. #8

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,037
    Thank Post
    160
    Thanked 908 Times in 712 Posts
    Blog Entries
    3
    Rep Power
    270
    Yes exactly you can setup a Email Policy to give staff a seperate email address in bulk, or you can just add another SMTP Address to indivigual accouts.. i have quite a few TeaBoy@... being one of them LOL!

    There have been worse ones, but i removed them! i have a mean boss lol!

    but on a serious note, it is very handy as when we moved from a centrally managed email service at first our email accounts were the username.. so had to also add the old email address which was firstname.surname and this was done easily by creating a rule

    James.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 21st August 2009, 12:45 PM
  2. Exchange 2003 Recipient Policy?
    By tazz in forum Windows
    Replies: 2
    Last Post: 30th October 2008, 12:27 PM
  3. [MS Office - 2007] Changing Calendar View In Outlook 2007
    By FN-GM in forum Office Software
    Replies: 1
    Last Post: 10th October 2008, 09:40 AM
  4. Replies: 5
    Last Post: 19th April 2008, 02:33 PM
  5. MS Exchange 2003 Errors for the MSExchange AL
    By d4476m in forum Network and Classroom Management
    Replies: 0
    Last Post: 2nd April 2008, 09:52 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •