FIXED Wsp-10046 Changed Exchange Domain to Internal Relay if Organization has 0 Allocated Mailbox
This commit is contained in:
parent
b710607b1c
commit
dd47c3b02a
1 changed files with 6 additions and 0 deletions
|
@ -1123,6 +1123,12 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
if (!string.IsNullOrEmpty(org.GlobalAddressList))
|
if (!string.IsNullOrEmpty(org.GlobalAddressList))
|
||||||
{
|
{
|
||||||
ExchangeServerController.AddAuthoritativeDomain(itemId, domain.DomainId);
|
ExchangeServerController.AddAuthoritativeDomain(itemId, domain.DomainId);
|
||||||
|
|
||||||
|
if (orgStats.AllocatedMailboxes == 0)
|
||||||
|
{
|
||||||
|
ExchangeAcceptedDomainType newDomainType = ExchangeAcceptedDomainType.InternalRelay;
|
||||||
|
ChangeOrganizationDomainType(itemId, domain.DomainId, newDomainType);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (org.IsOCSOrganization)
|
if (org.IsOCSOrganization)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue