Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: Reΐ]: [ActiveDir] Add folder with quota to existing mailboxes - via scripting or tool
Prev Next
You are not authorized to post a reply.

AuthorMessages
gollum123User is Offline

Posts:0

08/27/2006 10:25 AM  
Hello Victor,

If the folder already exist, it will simply do nothing, except going into errors..
need to add a on error resume next or test if the folder exist before.
will create  in the inbox, as a subfolder

I don't see your goal with this folder...except if you turn special rights on it.

may ask them to put it [private] in the subject instead (it will work for the sent folders)


Regards,
Mathieu CHATEAU
http://lordoftheping.blogspot.com

Sunday, August 27, 2006, 10:26:59 PM, you wrote:

VW>
VW>
VW> Thanks Mathieu, nice.
VW>
VW>
VW>
VW> Does this create a folder in the root of the  mailbox?
VW>
VW> Access all mailboxes you say, that sounds logical. I know  that
VW> domain admins indeed dont actually have the full mailbox access (they have  some denies).
VW>
VW>
VW>
VW> What if a user already has the folder, does this script  take this into account?
VW>
VW>
VW>
VW> Again thanks.
VW>
VW>
VW>
VW>
VW>
VW> Victor

VW>
VW>

VW>  From: Mathieu CHATEAU [mailto:gollum123@xxxxxxx] 
VW> Sent: zondag 27 augustus 2006 22:04
VW> To: Victor  W.
VW> Cc: ActiveDir@xxxxxxxxxxxxxxxxxx
VW> Subject: Re: [ActiveDir]  Add folder with quota to existing
VW> mailboxes - via scripting or  tool

VW>
VW>
VW> Hello Victor,
VW>

VW>

VW>
VW> you will at least need an account that can access all mailboxes (not a domain  admins one)
VW>
VW> (or give a script to everyone that they will execute)
VW>

VW>
VW> To my knowledge, quota is mailbox based. You may set up a special retention  on this folder.
VW>

VW>
VW> sample _vbscript_ to create the private folder
VW>
VW> set olApp = CreateObject("Outlook.Application")     
VW>
VW> set inbox =  olApp.GetNamespace("MAPI").getDefaultFolder(6) 
VW>
VW> set temp5 = inbox.folders.add("Private",6) 
VW>

VW>
VW> hope it helps,
VW>

VW>
VW> Regards,
VW>
VW> Mathieu CHATEAU
VW>
VW> http://lordoftheping.blogspot.com
VW>

VW>
VW> Sunday, August 27, 2006, 8:57:03 PM, you wrote:
VW>

VW>
VW>

VW>
VW> Does anybody know what is the 'best' way to add       
VW> automatically a folder to existing mailboxes and set a quota on that same        folder?
VW>
VW> We would like all our users to get a folder called       
VW> "private" added to the root of their mailbox and if possible, a
VW> quota to        be set to that folder.
VW>
VW>
VW>
VW> Can this be done by scripting easily or is there        perhaps
VW> even a tool which is capable of doing this?
VW>
VW>
VW>
VW> This also counts for new, still to be created users.        I
VW> mean, every user that will be created will have to have that
VW> certain        folder added to his or her mailbox.
VW>
VW> Offcourse this could be done by running the script a       
VW> couple of times a day, checking if the folder exists allready and
VW> if not,        adding it. Or perhaps it can even by realised the
VW> moment a user has been        created.
VW>
VW>
VW>
VW> Any ideas are greatly appreciated.
VW>
VW>
VW>
VW>
VW>
VW>
VW>
VW>
VW>
VW>

VW>

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > Reΐ]: [ActiveDir] Add folder with quota to existing mailboxes - via scripting or tool



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:cajoe64
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5291

People OnlinePeople Online:
VisitorsVisitors:45
MembersMembers:0
TotalTotal:45

Online NowOnline Now:

Ads

Copyright 2012 ActiveDir.org
Terms Of Use