Solved

address policy exchange 2007

Posted on 2014-01-09
5
197 Views
Last Modified: 2014-01-14
Hi Experts,

how to set an address policy to false ?
Right click shows no option, maybe with powershell ?
0
Comment
Question by:Eprs_Admin
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:PaciB
PaciB earned 500 total points
ID: 39767415
Hi,

What do you mean by setting an address policy to false ??? Disable it ??

Address Policies are applied with a filter that selects mail objects on which the policy should apply. You can then modify the filter so that the policy will never apply.

You have to know that address policies can add new e-mail addresses on a mail object (mail contact, mailbox, ...)  but WILL NEVER REMOVE previous e-mail addresses.
So if you want to disable an address policy to remove e-mails that this policy added, it will not help.

Also, the "default address policy" can not be removed and its filter can not be modified. This default address policy applies on every object if there is no other address policy before it that applies.


Have a good day.
0
 

Author Comment

by:Eprs_Admin
ID: 39767494
before removing it, I want to disable it.

I have some address policies here, some are set to TRUE and some are set to FALSE.
0
 
LVL 16

Assisted Solution

by:PaciB
PaciB earned 500 total points
ID: 39767746
Hi again,

As far as I know there is no "Enabled" or "Disabled" property on address policy objects.

So in my opinion, a way to avoid application of an address policy without removing it would to change the IncludedRecipients property to "None":

Set-EmailAddressPolicy -Name "name of to address policy" -IncludedRecipients None


Have a good day
0
 
LVL 16

Accepted Solution

by:
PaciB earned 500 total points
ID: 39767768
Me again...

The column "Applied Status" that shows True or False has nothing to do with the fact that the policy is enabled or not.
The "Applied status" is only about the fact your manually forced reapplication of the policy.

If a policy exists, it applies to new mailbox on mail object created.
If a policy exists and you change the policy settings you'll have the choice to reapply immediatly the policy to already existing mail object when you save the changes.

So again, in my opinion the only way to keep the policy but avoid application of this policy is to modify the filter so that none object will be concerned, by setting "IncludedRecipients" to None.
But of course you should note the previous value of "IncludedRecipients" to be able to go back to previous state if you finally decide to keep the address policy.
0
 

Author Closing Comment

by:Eprs_Admin
ID: 39778662
ok thanks for the tipps.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
how to add IIS SMTP to handle application/Scanner relays into office 365.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question