How to Delete emails from specific senders older than N days?
Good day to the whole community!I came across similar questions with solutions but my request is a bit more different to those stated in the forum.What I exactly want to do is the following:After I receive emails from a specific user (eg. me@domain.com) I want to keep these emails for N days in my Inbox and then get the server automatically delete them and send them to "Deleted Items" folder of my mailbox.Exmerge can only process emails based on the Subject and Attachment name but not based on the sender's email address.My environment is Exchange Srv 2003 with Outlook 2003 & 2007.
November 24th, 2009 7:00pm

I got a script on this URL http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_22782345.htmlThis is a VB Script and probably will help you out.Raj
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2009 7:13pm

Hi,One suggestion would be to have an Outlook rule move the messages to a specific folder and then have the mailbox manager delete the mails from this folder after the desired period.http://support.microsoft.com/default.aspx/kb/302804Leif
November 24th, 2009 8:31pm

I agree with Leif, Ex2003 Mailbox Manager Policy should be able to do this. A description of the Mailbox Manager recipient policy functionality Mailbox management recipient policies are a set of configurable rules that run on a schedule and that evaluate the mailboxes on the local server. The policy uses rules to filter all the recipient objects and to selectively apply mailbox management settings to messages in folders that go past the limit of the predefined rules. The mailbox management process detects folders in a mailbox that contain messages larger than a certain size. If a message remains in a folder after a predefined time has passed (by default, 30 days), a number of predefined actions can be taken, including the following: Generate a report only and send the report to the mailbox owner. Move the message to the Deleted Items folder. Move the message to System Cleanup folders. Delete the message immediately. http://support.microsoft.com/kb/319188Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
November 25th, 2009 1:25pm

Leif & Vinod thanks a lot for your proposals,I have thought about a solution like this onebut it will add an additional step (with some sub-steps actually) to the whole process. I need to create sub-folders & rules to move the emails there first and then set the recipient policy maintain the specified folder.I have already tried a solution like this but I am looking about a more straight forward solution. Even a "Custom Action" in an Outlook Rule would help if you have something to propose.
November 25th, 2009 4:20pm

Hi, I think you need to move the emails to one folder and then apply the mailbox policy to achieve the goal. So far as I know, there is no other way. Maybe a self-developed tool can do the trick. Another workaround, use exmerge(in Exchange 2003)/export-mailbox(in Exchange 20007) to delete the mail and add the task as a scheduled daily job. But I don't think it's a good idea... Thanks, Elvis
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2009 6:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics