Email Address Policy - Custom Attribute - HELP
Hi,
I need a help and If anyone can help me I appreciate:
- I have a Windows 2008 R2 Domain named, for example, x.local and the user´s email address is
user@x.com.
- I have installed an Exchange 2010 and I will create the mailbox but I want to use the email that user has in his AD account in E-mail field, that is
user@x.com.
- I need to change the Email Address Policy in Exchange 2010 and I intend to create a new e-mail address policy using Custom Attibute.
The question is, how can I configure in Custom Attribute to the Policy get the email address that is in E-mail field from user account?
Thanks for while.
Luiz
June 24th, 2010 11:54pm
Hi,
In the recipient policy simply specify the format which you like to use as e-mail address. It's not possible to copy a value to a recipient policy. However if is possible to copy the value of the e-mail field and use it as the primary e-mail but in that
case you shouldn't use recipient policies.
Regards,
JohanExchange-blog: www.johanveldhuis.nl
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2010 12:22am
Hi,
I need a help and If anyone can help me I appreciate:
- I have a Windows 2008 R2 Domain named, for example, x.local and the user´s email address is
user@x.com.
- I have installed an Exchange 2010 and I will create the mailbox but I want to use the email that user has in his AD account in E-mail field, that is
user@x.com.
- I need to change the Email Address Policy in Exchange 2010 and I intend to create a new e-mail address policy using Custom Attibute.
The question is, how can I configure in Custom Attribute to the Policy get the email address that is in E-mail field from user account?
Thanks for while.
Luiz
1- Create EAP like this
New-EmailAddressPolicy -Name "southeast offices" -IncludedRecipients AllRecipients -ConditionalCustomAttribute1 "SomeValueHere" -EnabledEmailAddressTemplates "SMTP:%s%2g@southeast.contoso.com
2- Now assign custom attributes to your recipients, e.g on a set of mailboxes in an OU
Get-Mailbox OrganizationalUnit "YourADDomain.com\YourOU" -ResultSize Unlimited | Set-Mailbox CustomAttribute1 "SomeValueHere"
3- and then update the EAP, so that it assigns email addresses to recipients like this
Update-EmailAddressPolicy "southeast offices"
Note: Replace "SomeValueHere" with the value u want to put in the CustomAttribute1 of your recipients in above commands. You can also change "EnabledEmailAddressTemplates" to whatever you want, as far as it is a valid combination.
Hope that it help u.
RegardsLaeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
June 25th, 2010 12:34am
Hi Johan,
thanks for the help.
Best Regards.
Luiz
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2010 7:26pm
Hi Laeeq,
thanks for the help.
Best Regards.
Luiz
June 25th, 2010 7:27pm