How to delete emails on MS Exchange server 2010 SP1
You can use two solutions to automatically delete/empty mailbox on a MS Exchange Server 2010 SP1.
1) Since MS Exchange 2010 SP1 you can use Retention policies with Retention policy tags , per mailbox , easy to setup and very helpful
Emails can be auto-deleted by being marked with policy tags and after that Managed Folder Assistant “daemon” is checking the aging all the emails .
2) you can setup (in scheduled task) an exchange shell script to delete this emails :
in task scheduler add a “dos” script (ex. emptybox.bat):