Solved

address policy exchange 2007

Posted on 2014-01-09
5
199 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:Bruno PACI
Bruno PACI 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:Bruno PACI
Bruno PACI 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:
Bruno PACI 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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