extract & delete messages from Exchange 2003
I am tasked to extract all emails sent and received from a certain email domain from all mailboxes on an Exchange 2003 server. I tried using ExMerge, but it only had option to extract emails based on either subject and/or attachment. I also tried searching on the Internet for a solution but could not find one. The mailboxes arerunning ona Exchange 2003 SP2 server. It would be greatly appreciated if someone could show me how to accomplish this. Thanks in advance for all helps.
July 28th, 2009 12:11am
I do have workaround for this. What you need to do is copy exchange tracking logs from server to workstation. Then run a DOS command in the folder C:\LOGS> find domain.com *.log > domain.txt When I was done, I had a text file with every entry that contained domain.com. It also puts a header for each log file, so I again used the find command to strip those (the /V says to display lines that dont contain the search string). C:\LOGS> find /V ---------- domain.txt > domain2.txt Bring domain2.txt into Excel (tab delimited) and sort by Date and Time to remove the blank lines. Remove a few columns, put on a header row, save as XLS, and you have a file. Now you need to look out for those subject lines and use Exmerge to extract those messages
Vinod
|CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2009 2:35pm
this is still dangerous because exmerge will remove all messages with that subject and an internal sender could have used the same subject
July 28th, 2009 4:10pm
If you have Exchange 2007 SP1 Management Tools installed on any workstation with Outlook then you can use Export-Mailbox cmdlet with SenderKeywords and RecipientKeywords parameter to export mails which were send/receive from certain domains from Exchange 2003 mailboxes.
Refer below couple ofreferences for necessary requirement and permission required for Export-Mailbox cmdlet...
Export-Mailbox
http://technet.microsoft.com/en-us/library/aa998579.aspx
How to Export Mailbox Data
http://technet.microsoft.com/en-us/library/bb266964.aspx
Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2009 4:21pm
Thanks everyone for the replies. I guess I will go with Amit's suggestion and install the Exchange 2007 SP1 management tools.Again, thanks.
July 29th, 2009 12:12am