Immediately Archive Mailbox
Hi
I want to treat a user mailbox in a similar way to how a journal mailbox works. As soon as a message comes in I'd like it archived and a shortcut left for a few days before the shortcut is deleted. This isn't actually a mailbox used by a user but emails are sent to this mailbox by an automated process and very rarely need to be accessed - hence why I want to archive them. I can set the archiving task to run all day and set the shortcut deletion to my required period but the archiving policy only allows for a 'emails older than 1 day' as a minimum - will this allow for emails to be archived immediately or only on the following day?
Is there perhaps a better way to achieve this?
many thanks
K
The only way you could do it is to run EVPM against it, tell it to archive anything 0 days or older, archive unread items, archive the item, delete the original , do not create a shortcut.
Then in the properties of the archiving task, set it to run every half hour by setting the schedule.
So when you look at the schedule properties you can see it by Hour, or by 15 minute increments
you'd do 15 minutes on, 15 minutes off, 15 minutes on, 15 minutes off etc
If you run it 24/7 then what will happen is it will scan the mailbox once and never again, because as soon as its archived everything the item won't get requeued, and mailboxes are only queued when the schedule starts.
The problem with this method if that the archive task affects anyone on that Exchange server, so if you have other mailboxes on that server, they would be archived every 30 minutes also ....I did develop an app that will request a run now every 5 minutes against specified mailboxes, or a time that you'd wish instead, if you'd be interested in talking about it, you can ping me