{"id":246,"date":"2009-05-05T10:00:20","date_gmt":"2009-05-05T15:00:20","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=246"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"configurng-the-email-address-generator-through-recipent-policies-in-exchange-server-2003","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=246","title":{"rendered":"Configurng the email address generator through Recipent Policies in Exchange Server 2003."},"content":{"rendered":"<p>The Recipent Policies in the Exchange 2003 Server generates the email address of the users you create in Active Directory Users and Computers. For example users_name@domain_name.com.<\/p>\n<div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\ngoogle_ad_format = \"468x60_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>When configuring a new Exchange server it is recommended that a new Recipient Policy be created, instead of using the Default Policy.  Here is how you can configure or change the recipent policy.<\/p>\n<p>The below is an excerpt from Microsoft Tech Net.<\/p>\n<p>To modify any recipient policy:<br \/>\nStart Exchange System Manager.<br \/>\nClick Organization, click Recipients, and then click Recipient Policies.<br \/>\nDouble-click the policy that you want to change. If you are going to generate your SMTP address by using the replacement strings listed below, do not modify your Default Policy. You may encounter problems if the Default Policy is based upon attributes such as Given Name or Surname.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:<br \/>\n271339  (support.microsoft.com\/kb\/271339\/EN-US\/ ) XADM: Cannot Mount Database and Event ID 9546 Occurs<br \/>\nClick the E-Mail Addresses tab, and then edit the appropriate SMTP Generation rule by using the following switches.<\/p>\n<p>The default format is:<br \/>\nuser_name@domain_name.com<br \/>\nThe following replacement strings are available:<br \/>\n%s = surname (last name)<br \/>\n%g = given name (first name)<br \/>\n%i = middle initial<br \/>\n%d = display name<br \/>\n%m = Exchange 2003 or Exchange 2000 Alias<br \/>\n%rxy = Replace all subsequent characters x with character y in username. If x = y, then the character will be deleted.<br \/>\nYou can place a number in front of any of the preceding switches to define how many characters of the switch should be used, for example:<br \/>\n%1s = Uses the first letter of the surname<br \/>\n%5g = Uses the first five letters of the given name<br \/>\nNOTE: Invalid characters (in accordance with Request for Comments [RFC] 821\/822) are removed from the user\u2019s name.<br \/>\nMore Information on the %r Replacement String<br \/>\nIf a %r is used for the purpose of substituting a valid character for an invalid character, the entire %r string is ignored. Additionally, %r should be used immediately before replacement string where you want to replace characters.<\/p>\n<p>Therefore, in cases in which you want to replace character \u201cx\u201d with character \u201cy\u201d in the last name (represented with %s) an SMTP e-mail address is generated as follows:<br \/>\n%g.%s<br \/>\nThe proper use of %r replacement string is:<br \/>\n%g.%rxy%s<br \/>\nPutting %rxy in front of the whole e-mail will not work properly in the above case and will not replace character \u201cx\u201d with \u201cy\u201d in the last name.<\/p>\n<p>NOTE: When using the %rxy string, x can equal blank space. This string can be used to merge spaces in the name with a valid character.<\/p>\n<p>NOTE: You cannot use the %rxy string as %r to remove manually typed periods from the Initials field in Active Directory Users and Computers. We recommend that the manually typed period be removed from the Initials field in Active Directory as this also affects other attributes.<br \/>\nBack to the top<br \/>\nExamples for User Logon Name = \u201cAndrewLin\u201d<br \/>\nDisplay name = \u201cAndrew Lin\u201d<br \/>\nSurname = \u201cLin\u201d<br \/>\nGiven name = \u201cAndrew\u201d<br \/>\nFormat string          SMTP address generated for sample user<br \/>\n\u2014\u2014\u2014\u2014-          \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\n%d@microsoft.com       HollyEBarrett@microsoft.com<br \/>\n%r._%d@microsoft.com   HollyE_Barrett@microsoft.com<br \/>\n%r..%d@microsoft.com   HollyE.Barrett@microsoft.com<br \/>\n%g.%s@microsoft.com    Holly.Barrett@microsoft.com<br \/>\n@microsoft.com         HollyB@microsoft.com<br \/>\n%1g%s@microsoft.com    HBarrett@microsoft.com<br \/>\n%1g%4s@microsoft.com   HBarr@microsoft.com<\/p>\n<p>282314  (support.microsoft.com\/kb\/282314\/ ) Site addressing generates incorrect SMTP address for \u201c%g.%s.%m\u201d <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Recipent Policies in the Exchange 2003 Server generates the email address of the users you create in Active Directory Users and Computers. For example users_name@domain_name.com. When configuring a new Exchange server it is recommended that a new Recipient Policy&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=246\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[49,48],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/246"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":2,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions"}],"predecessor-version":[{"id":710,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions\/710"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}