Solved

Purge a mailbox

Posted on 2008-06-16
4
3,308 Views
Last Modified: 2008-07-07
I've created a mailbox called Test1 in Exchange 2007 and after I've tested the mailflow I've deleted it by clicking on Remove in Exchange Management Console | Recipient Configuration | Mailbox.

However, the mailbox is still listed by:

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

How can I permenantly get rid of it, so it no longer shows in the script above?
0
Comment
Question by:mihaisz
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
Andres Perales earned 500 total points
ID: 21797895
When you delete a mailbox / account it stays in the directory until the system purges after set amount of time.  

Check you deletion settings under your Mailbox store for the setting labeled keep deleted mailbox this number of days, see what you have there, i think the default is 30 days or something...you can change that to zero the do a for update and that should clean it up, just becareful with those settings.
0
 

Author Comment

by:mihaisz
ID: 21797940
Could you tell where precisely is that setting?
0
 

Expert Comment

by:ebarkho
ID: 21945386
Open EMC on any Exchange 2007 server - Server Config - Click on Server that holds that DB - Right Click properties on the DB - Limits Tab - On the bottom half, Keep deleted mailboxes for (days):
0
 

Author Comment

by:mihaisz
ID: 21949624
This is what I have under Server Configuration | right click on the server name and Properties | Limits Tab:

Retries
Message Expiration
Notifications
Connection Restrictions.

I have 1 server and Exchange 2007 SP1.
I'll keep on looking...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

832 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