Hello Victor,
you will at least need an account that can access all mailboxes (not a domain admins one)
(or give a script to everyone that they will execute)
To my knowledge, quota is mailbox based. You may set up a special retention on this folder.
sample _vbscript_ to create the private folder
set olApp = CreateObject("Outlook.Application")
set inbox = olApp.GetNamespace("MAPI").getDefaultFolder(6)
set temp5 = inbox.folders.add("Private",6)
hope it helps,
Regards,
Mathieu CHATEAU
http://lordoftheping.blogspot.com
Sunday, August 27, 2006, 8:57:03 PM, you wrote:
|
> |
Does anybody know what is the 'best' way to add automatically a folder to existing mailboxes and set a quota on that same folder? We would like all our users to get a folder called "private" added to the root of their mailbox and if possible, a quota to be set to that folder.
Can this be done by scripting easily or is there perhaps even a tool which is capable of doing this?
This also counts for new, still to be created users. I mean, every user that will be created will have to have that certain folder added to his or her mailbox. Offcourse this could be done by running the script a couple of times a day, checking if the folder exists allready and if not, adding it. Or perhaps it can even by realised the moment a user has been created.
Any ideas are greatly appreciated.
|
