Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a Mailbox

Status
Not open for further replies.

cbrunet17

IS-IT--Management
Jan 30, 2006
41
CA
We are currently creating a script that will automate the creation of multiple users in Active Directory, also creating their mailboxes in Exchange 2003 on Windows 2003 Server Pro.

The script ran once, and thigns were fine, now, in tweaking, all the suers were deleted and the script was ran again, but now, we are getting an error on the user. What is coming up is the following: "This recipient already has an e-mail address." in the error window. So my question is this:
1- How do we delete previously existing mailboxes?
2- Or, how do we attach these users back to these mailboxes?
I dont think the attaching is the way to go, as there will be changes made to the accounts. So how do we get rid of them without re-creating the whole server? Where are these mailboxes stored?
 
The mailboxs should be viewed via the exchange system manager. If you right-click the mailbox folder you should be able to run the clean up agent. After it has ran you will see a red 'X' as the mailbox has been detached from the user. Since you don't want to reconnect, the only other option I see is to purge the mailbox and re-run your script. FYI: if you purge the mailbox all data is deleted.

If you still get the error regarding email address already exists, you will need to remove the addresses from the proxyAddress attribute in AD. You can remove this by using ADSI edit. Though I don't think you will have this problem once you have removed the AD account and purged the mailbox.
 
Whcih part of the hierarchy shows the mailboxes in System Manager? I can't see them.
 
1. Make sure you can see the Administrative group.
At the top of the hierarchy right-click on yourorg(Exchange) and choose properties. From the General tab make sure the "Display administrative group" check box is checked.

2. Path: Yourorg(Exchange)->AdministrativeGroups->yourorg->Servers-> YourServer->StorageGoup->Store->Mailboxes.





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top