SMTP E-Mail Addresses Policy Problem!!!http://forums.asp.net/t/884958.aspx/1?SMTP+E+Mail+Addresses+Policy+Problem+Tue, 21 Jun 2005 15:26:48 -0400884958923955http://forums.asp.net/p/884958/923955.aspx/1?SMTP+E+Mail+Addresses+Policy+Problem+SMTP E-Mail Addresses Policy Problem!!! <p>Hi!</p> <p>We deployed Hosted Exchange 2003 based on MS Provisioning (HMC 3.0). We can create without any problem SMTP domains and recipient&nbsp;policies. </p> <p><span lang="EN-GB" style="">Our recipient policy (by using MPS) for a business organization has a policy which has two different SMTP e-addresses policy:</span></p> <p><strong><span lang="EN-GB" style="">@domainA.com</span></strong><span lang="EN-GB" style=""> and <strong>@domainB.com</strong></span></p> <p><span lang="EN-GB" style="">We created the organization with the SMTP domain <strong> domainA.com</strong>. Later we created additionally SMTP domain <strong>domainB.com</strong> for the same organization and&nbsp;in the same&nbsp;policy.</span></p> <p><span lang="EN-GB" style="">Only and only the policy for <strong>@domainA.com</strong> is applied to the user e-mail addresses. The e-mail addresses policy <strong>domainB.com</strong> is <strong>never applied to</strong>. </span></p> <p><span lang="EN-GB" style="">The option <strong>&quot;Automatically update e-mail addresses based on recipient policy&quot;</strong> on the&nbsp;<strong>User Properties &gt; E-Mail Addresses</strong> of a AD user is not enabled on default. If we enable this option, the user get following e-mail addresses and the primary e-mail address <strong>domainA.com</strong> is <strong>no more primary:</strong></span></p> <p><span lang="EN-GB" style="">After enabled this option: for Example, the e-mail addresses for the user <strong>Peter Schwarz</strong> are:</span></p> <p><span lang="EN-GB" style="">- </span><a href="mailto:p.schwarz@domainA.com"><span lang="EN-GB" style="">p.schwarz@domainA.com</span></a><span lang="EN-GB" style=""> (no more primary)</span></p> <p><span lang="EN-GB" style="">- </span><a href="mailto:p.schwarz_domainA.co@localdomain.net"><span lang="EN-GB" style="">p.schwarz_domainA.co@localdomain.net</span></a><span lang="EN-GB" style=""></span></p> <p><span lang="EN-GB" style="">- </span><a href="mailto:p.schwarz@localdomain.net"><span lang="EN-GB" style="">p.schwarz@localdomain.net</span></a><span lang="EN-GB" style=""> (now this one is primary)</span></p> <p><span lang="EN-GB" style="">- x.400 address is also applied to user.</span></p> <p><span lang="EN-GB" style="">Can somebody tell me what is happening in system (MPS or Exchange)? What is wrong and how can we fix this problem?</span></p> <p>Best Regards</p> <p>Cicek</p> <p>&nbsp;</p> 2005-05-12T15:51:13-04:00924994http://forums.asp.net/p/884958/924994.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p class="MsoPlainText" style="margin:0in 0in 0pt"><font size="2"><font face="Courier New">Hi,</font></font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font face="Courier New" size="2">&nbsp;</font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font size="2"><font face="Courier New">The primary goal for recipient policy in MS HMC is to let exchange servers receive e-mail messages for hosted organizations. <strong>Policy in the solution is not designed for users e-mail generation.</strong></font></font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font face="Courier New" size="2">&nbsp;</font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font size="2"><font face="Courier New">I suggest you read solution documentation more carefully to understand how solution works, especially how MPS manages recipients.</font></font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font face="Courier New" size="2">&nbsp;</font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font size="2"><font face="Courier New">Regards,</font></font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font face="Courier New" size="2">&nbsp;</font></p> <p class="MsoPlainText" style="margin:0in 0in 0pt"><font size="2"><font face="Courier New">Dmitri Gaikovoi</font></font></p> 2005-05-13T14:10:05-04:00928122http://forums.asp.net/p/884958/928122.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>Hi Dmitri!</p> <p>You mean, I cannot create any SMTP e-mail aliases automaticaly by using MS HMC?</p> <p>Is there any other better solution to automize the e-mail policy?</p> <p>Best Regards</p> <p>Cicek</p> <p>&nbsp;</p> 2005-05-17T09:08:45-04:00928375http://forums.asp.net/p/884958/928375.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>Hi,</p> <p>Try to read &quot;<a name="jumpTag">Configure Hosted Exchange for the <span class="varcontent" id="vc0005"> alpineskihouse</span> Customer Organization</a>&quot; in HMC documentation. It will give you an idea how solution deals with user's e-mail addresses.</p> <p>Regards,</p> <p>Dmitri Gaikovoi</p> 2005-05-17T14:48:39-04:00929374http://forums.asp.net/p/884958/929374.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>Hi Dmitri,</p> <p>&nbsp;</p> <p>the information in section &quot;<a name="jumpTag">Configure Hosted Exchange for the <span class="varcontent" id="vc0005">alpineskihouse</span> Customer Organization</a>&quot; is not deep enough and does not answer my question.</p> <p>Best Regards</p> <p>Cicek</p> 2005-05-18T08:27:26-04:00929625http://forums.asp.net/p/884958/929625.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>It is more than enough to get an idea how HMC works.</p> <p>Dmitri</p> 2005-05-18T13:51:17-04:00945145http://forums.asp.net/p/884958/945145.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>I think I see your confusion.&nbsp; Let me see if I can help answer this.<br> <br> First, in an HMC enviroment, the Recipient Update Service (RUS) for Exchange is disabled.&nbsp; This is because the Exchange Provider creates the mailboxes instantly when you create a mailbox.&nbsp; If we were to create mailboxes using the RUS (which is the standard way of doing things), you have to wait for some time before the mailbox is actually created even though you &quot;thought&quot; you created it via the Exchange API's.&nbsp; The other thing the Exchange provider does is set&nbsp;the alias to match what you've requested as the primary mailbox.&nbsp; The RUS would not do that.<br> <br> To your second issue, via HMC a given organization can have mulitple SMTP &quot;domains&quot;.&nbsp; But having an organization with multiple domains does not automatically assign each user/mailbox to each domain.&nbsp; It can be done, but you have to do that per user/mailbox.&nbsp; You could write your own Namespace/Named Procedure to automate this task (assign an alias for each available SMTP domain assigned to the organization when creating the user), but what if you add a new SMTP to an organization that already exists and has users/mailboxes already?&nbsp; Do you go back and update all of those users?&nbsp; As you can see, this is a tricky situation.&nbsp; It's a blend of issues between Exchange Server and the HMC solution.<br> <br> I hope this answers some of your questions.</p> 2005-06-03T05:31:43-04:00962830http://forums.asp.net/p/884958/962830.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! exchange 2003 are limited to 99 policy, &quot;not 100% sure of this number but somthing like that&quot;<br> <br> and using the RUS to generate smtp addresses will put you under this limitations,,,<br> <br> by disabling the exhchange policy, then the smtp servers will not recognize the smtp domains internaly and they will start refuse smtp connections from mail servers sending to your domains emails..<br> <br> to avoide this,<br> <br> 1- disable the policy <br> 2- use the MPS scripts &nbsp;insted to create the proxy address for the users<br> 3- use the SMTP Event Sinks , domain.dat file that will&nbsp; sync with the MPS SQL database ro any database used&nbsp;&nbsp;for the hosted domains.<br> <br> <br> never run the rus... it will confuse the whole solution!!!<br> <br> 2005-06-20T17:48:51-04:00963583http://forums.asp.net/p/884958/963583.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! Hi,<br> <br> My question is that even though am using MPS to create the organisation, the users and I enabled them for exchange hosing via the sample web application, no receipient policy is automatically created so in essence such organisation are not enable to receive e-mails until I have to create the receipient policy manually.&nbsp; Is this how the solution works? or is it that am doing something wrong.&nbsp; I do not have a dedicted SMTP Server at the moment so my Exchange Server also serves as my SMTP Server.<br> <br> Thanks for your kind help.<br> <br> Sam 2005-06-21T07:41:09-04:00964032http://forums.asp.net/p/884958/964032.aspx/1?Re+SMTP+E+Mail+Addresses+Policy+Problem+Re: SMTP E-Mail Addresses Policy Problem!!! <p>The Typical exhcnage hosting as follows:</p> <p>The MPS will <br> 1-communicate with the AD, to create the organization, and it will set the permession for this ORG.</p> <p>2- it will create the default groups, and users into this org<br> <br> 3- when you create a new user in this organization, the mps scripts &nbsp;will create the user account, and it will create the proxy address for this user as specified in the org, and it will create the mailbox and its attributes in the exchange.<br> <br> 4- the mps will keep update the SQL database for whats going on, and it will use this database to rule back if somthing goes wrong in the middle:<br> <br> usualy in a non hosting setup, the user creation will happen manualy, and the AD will replicate with the exchange for the smtp address, and the exchange will use this policy informations to accept incomming &nbsp;emails to the internal domains.<br> <br> in the hosted setup, the exchange will not have a policy to be replicated with the AD, so the mps will set the proxy address, and the exchange will not handle this part., but here the exchange will start refuse incomming emails to the internal domains, becasue it doesnt know about the domains hosted... so for this, you need to set the smtp event on the SMTP servers, in your case, you have only the back end servers, then you have to setup the smtp even sinck on the back end servers, <br> <br> the smtp event sink, is a registry keys, and a file, called domains.dat that will include the list of your hosted internal domains &quot; abc.com as an example&quot; and this file has to be updated as you add new domains in your setup.<br> <br> you can use the schedule tasks, to run a script in your sql servers, so this script will pull the domain names from its database, and it will update the domains.dat file on the exchange servers.<br> <br> i hope this cleared the idea!<br> <br> regards.<br> nizar.</p> 2005-06-21T15:26:48-04:00