I've recently created a Mailbox Management task within Exchange 2003 that, every night, looks at the contents of the Deleted Items within a particular mailbox and deletes mail that's 30 days or older.
The scheduled task ran on its own last night and I have confirmed that messages within the right mailbox and the right folder were, in fact, processed. Many mails were deleted ... but not never email older than 30 days. In fact, the choice seems kinda random.
Last night 3/10/2010 was the 30 day watermark. Mails were deleted from 3/10/2010, sure enough, but not all of them. Mails older than 3/10/2010 were deleted as well, but, again, not all of them.
The only criteria I have on the management -- aside from the single mailbox and single folder scopes -- is the age criteria. The size criteria is set to Any, meaning I don't care about the size. I care about the age.
It's made me wonder where there is some sort of limit on how many mails can be processed?
The schedule is set for 12am and 1am every night.
Any hints appreciated.
EDIT: Here are pics.
And here's an example of one of the reports:
The Microsoft Exchange Server Mailbox Manager has completed processing mailboxes Started at: 2010-04-10 22:52:01 Completed at: 2010-04-10 22:52:10 Mailboxes processed: 1 Messages moved: 0 Size of moved messages: 0.00 KB Deleted messages: 114 Size of deleted messages: 4.41 MB
That report up there is from a MANUAL run of the Mailbox Management Process. If I run it again I get another report stating that nothing was deleted.