REF: E14 Mailbox Role – Part 3 – E-Mail Address Policies

 

1. Update-EmailAddressPolicy  環境中不適合直接run 這個command, 除非重新調整過email address policy.

2. 舊版的email address policy 將無法直接編輯


 image


3. 新版(2007 開始) 的好處是透過GUI 直接選定AD object, 取代過往的LDAP query

(&(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14)))(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))) )))(objectCategory=user)(company=msft*))))

只是不知 Mail group 只套用leagacyExchangeDN 的問題是否有解決?


 image

image 

image

Exchange applies a policy to all recipients that match the recipient filtering criteria:

  • The recipient policy functionality is divided into two features: e-mail address policies and accepted domains.

    A detailed discussion about accepted domains is outside the scope of this topic. For information about accepted domains, seeUnderstanding Accepted Domains.

  • When you run the Update-EmailAddressPolicy cmdlet in the Exchange Management Shell, the recipient object is updated with the e-mail address policy. For detailed syntax and parameter information, see Update-EmailAddressPolicy.

  • Each time a recipient object is modified and saved, Exchange enforces the correct application of the e-mail address criteria and settings. When an e-mail address policy is modified and saved, all associated recipients are updated with the change. In addition, if a recipient object is modified, that recipient's e-mail address policy membership is reevaluated and enforced.

 

Custom SMTP e-mail address
   
Variable Value
%g Given name (first name)
%i Middle initial
%s Surname (last name)
%d Display name
%m Exchange alias
%xs Uses the first x letters of the surname. For example, if x = 2, the first two letters of the surname are used.
%xg Uses the first x letters of the given name. For example, if x = 2, the first two letters of the given name are used.

 

Blog Extended Reading

More Information & Reference

1. Understanding E-Mail Address Policies

image

Comments

Popular posts from this blog

E15 CU3–Update Failed–AD replicated Exceeded the tombstone lifetime.

202301 - Exchange onpreme - PowerShell Serialization Payload Signing

E14–Bulk Create Mail Contact & Set-Contact