Exchange 07 Managed Folders Fiasco  
Author Message
chasingsol





PostPosted: Wed Dec 12 15:29:58 PST 2007 Top

Exchange Servers Admin >> Exchange 07 Managed Folders Fiasco

I have to say this is one utterly ridiculous way to get around a problem was
that easily solved with Exchange 2003 and Recipient Policies.
This has got to be the most awful thing i've experienced so far with
exchange 2007.

So lets say I want to delete emails in the Junk folder of all my users that
are older than 30 days.
These would be the steps and please correct me if I'm wrong:
1) Send your EMC to Organization Configuration -> Mailbox -> Managed Default
Folders.
2) Right click the particular folder you want to manage, in this case Junk
E-mail, and select New Managed Content Settings.
3) Create a meaningful name for this setting, in my case DeletedItems30Days.
Choose the Message Type. Choose the Length of retention.
4) Select any Journaling if desired.
5) Finish creating the setting.

Now, it seems that only one Managed Content Setting can be set per folder.
Why? I dont know.

6) Go to the Managed Folder Mailbox Policies tab and create a New Managed
Folder Mailbox Policy
7) Create a meaningful name for the policy. Add the folder to this policy
for which you created the Managed Content Settings on the above steps.
Finish the wizard.

Now, procedures are different if you want to apply these rules to just a
couple of users or all users. I also wonder how I would go about it if I
wanted to apply different rules to half and half of my users.

Lets say I want to apply this new rule to just 1 user.
8) Go to Recipient Configuration -> Mailbox, and select the properties for
the user you want this rule to apply to. Then select the Mailbox Settings
tab. In there choose the Messaging Records Management and click Properties.
9) Click to check Managed Folder Mailbox Policy and browse to whatever name
you used for Managed Folder Mailbox Policies or step 7 above.

I also seem to be unable to give a user more than one policy. Why? I dont
know.

And we are not done yet folks. There is more. Now you have to enable the
Managed Folder Assistant to run on a schedule, since by default, its set to
never run.
10) Send your EMC to Server Configuration -> Mailbox. Double click the
server you want to shedule the agent to run on, go to the Messaging Records
Management and customize your schedule. On my case I went for 6am to 8am
every day.

Now, what happens if I want to apply this rule to all of my users instead of
just one. Imagine I have 500 users. There is no way I can go user by user
to enable this. Well thanks to good ol' Microsoft and their lack of any
foresight not to mention how extremely complicated and lenghty this process
already is, we would have to use the Management Shell to accomplish this.

11) Open up the shell and type: Get-Mailbox -ResultSize unlimited |
Set-Mailbox -ManagedFolderMailboxPolicy "DeletedItems30Days". What this does
is get a list of all mailbox enabled users and pipe it into the set-mailbox
command.

But what happens if you only want to apply this rule to members of a certain
OU?
You do this on the shell.
12) Get-Mailbox -OrganizationalUnit "Sales" -ResultSize unlimited |
Set-Mailbox -ManagedFolderMailboxPolicy "DeletedItems30Days". This one is
also self explanatory.

Unfortunatey, if users are moved from or created on that OU, you would have
to apply this command again so the new user can have this setting or so the
moved user no longer has this restriction. Is that stupid of what? Yes, yes
it is!

And what if I wanted to apply different retention length for different
folders. For example, lets say I want to delete anything older than 30 days
on the deleted folder and delete anything older than 60 days in the Junk
folder. And then I want to apply this rule to me only, but the rest of the
organization would have different values.
I'm actually not sure how to proceed with that one.

Its upsetting that this simple tasks has become so lenghty and complicated
and its upsetting that you are once again forcing us to use the shell, when
everything should be controlled via the console.

Exchange Server39  
 
 
Bharat





PostPosted: Wed Dec 12 15:29:58 PST 2007 Top

Exchange Servers Admin >> Exchange 07 Managed Folders Fiasco Managed Folders: How to apply different Managed Content Settings to Default
Folders
http://exchangepedia.com/blog/2007/10/managed-folders-how-to-apply-different.html

Applying Managed Folder Policy to more than one user
http://exchangepedia.com/blog/2007/05/applying-managed-folder-policy-to-more.html

Exchange Server 2007: Why aren't Managed Content Settngs applied?
http://exchangepedia.com/blog/2007/04/exchange-server-2007-why-arent-managed.html

Restricting Messaging Records Management to a particular message type
http://exchangepedia.com/blog/2007/11/restricting-messaging-records.html


--
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------------------------




>I have to say this is one utterly ridiculous way to get around a problem
>was
> that easily solved with Exchange 2003 and Recipient Policies.
> This has got to be the most awful thing i've experienced so far with
> exchange 2007.
>
> So lets say I want to delete emails in the Junk folder of all my users
> that
> are older than 30 days.
> These would be the steps and please correct me if I'm wrong:
> 1) Send your EMC to Organization Configuration -> Mailbox -> Managed
> Default
> Folders.
> 2) Right click the particular folder you want to manage, in this case Junk
> E-mail, and select New Managed Content Settings.
> 3) Create a meaningful name for this setting, in my case
> DeletedItems30Days.
> Choose the Message Type. Choose the Length of retention.
> 4) Select any Journaling if desired.
> 5) Finish creating the setting.
>
> Now, it seems that only one Managed Content Setting can be set per folder.
> Why? I dont know.
>
> 6) Go to the Managed Folder Mailbox Policies tab and create a New Managed
> Folder Mailbox Policy
> 7) Create a meaningful name for the policy. Add the folder to this policy
> for which you created the Managed Content Settings on the above steps.
> Finish the wizard.
>
> Now, procedures are different if you want to apply these rules to just a
> couple of users or all users. I also wonder how I would go about it if I
> wanted to apply different rules to half and half of my users.
>
> Lets say I want to apply this new rule to just 1 user.
> 8) Go to Recipient Configuration -> Mailbox, and select the properties for
> the user you want this rule to apply to. Then select the Mailbox Settings
> tab. In there choose the Messaging Records Management and click
> Properties.
> 9) Click to check Managed Folder Mailbox Policy and browse to whatever
> name
> you used for Managed Folder Mailbox Policies or step 7 above.
>
> I also seem to be unable to give a user more than one policy. Why? I dont
> know.

A user can have one and only one Managed Folder Mailbox Policy.
This policy can have as many Managed Folders - default & custom - as you
want, with different settings.
You are able to create as many different iterations of the default folders
like Deleted Items as you want, with different Managed Content Settings for
each. When creating policies, you can pick and choose from all your managed
folders.

Overall, this is much more flexible than Recipient Policies with Mailbox
Manager settings, once you get a grip on how it works.


>
> And we are not done yet folks. There is more. Now you have to enable the
> Managed Folder Assistant to run on a schedule, since by default, its set
> to
> never run.
> 10) Send your EMC to Server Configuration -> Mailbox. Double click the
> server you want to shedule the agent to run on, go to the Messaging
> Records
> Management and customize your schedule. On my case I went for 6am to 8am
> every day.

This was true in Exchange Server 2003 as welll.


>
> Now, what happens if I want to apply this rule to all of my users instead
> of
> just one. Imagine I have 500 users. There is no way I can go user by
> user
> to enable this. Well thanks to good ol' Microsoft and their lack of any
> foresight not to mention how extremely complicated and lenghty this
> process
> already is, we would have to use the Management Shell to accomplish this.
>
> 11) Open up the shell and type: Get-Mailbox -ResultSize unlimited |
> Set-Mailbox -ManagedFolderMailboxPolicy "DeletedItems30Days". What this
> does
> is get a list of all mailbox enabled users and pipe it into the
> set-mailbox
> command.
>
> But what happens if you only want to apply this rule to members of a
> certain
> OU?
> You do this on the shell.
> 12) Get-Mailbox -OrganizationalUnit "Sales" -ResultSize unlimited |
> Set-Mailbox -ManagedFolderMailboxPolicy "DeletedItems30Days". This one is
> also self explanatory.
>
> Unfortunatey, if users are moved from or created on that OU, you would
> have
> to apply this command again so the new user can have this setting or so
> the
> moved user no longer has this restriction. Is that stupid of what? Yes,
> yes
> it is!

Schedule it.

>
> And what if I wanted to apply different retention length for different
> folders. For example, lets say I want to delete anything older than 30
> days
> on the deleted folder and delete anything older than 60 days in the Junk
> folder. And then I want to apply this rule to me only, but the rest of
> the
> organization would have different values.
> I'm actually not sure how to proceed with that one.

Look at the links in the beginning of this response.

>
> Its upsetting that this simple tasks has become so lenghty and complicated
> and its upsetting that you are once again forcing us to use the shell,
> when
> everything should be controlled via the console.