Email 可以在一台exchange服务器上为两个客户设置两个域电子邮件吗?

Email 可以在一台exchange服务器上为两个客户设置两个域电子邮件吗?,email,exchange-server-2010,Email,Exchange Server 2010,我有一台服务器和一个域控制器(abc.com)。我在此服务器上安装了Microsoft exchange 2010。因此,无需在此服务器中设置2个不同的电子邮件域(@abc.com和@def.com),以实现2个客户独立性(电子邮件@abc.com与域@def.com没有任何关系) 我可以这样设置我的服务器吗?如果我正确阅读了您的问题,这称为multi-tennant Exchange。听起来您试图在一台服务器中管理多个客户端,而不是让它们在通讯簿、GAL、联系人列表等中看到对方 是的,这是可能

我有一台服务器和一个域控制器(abc.com)。我在此服务器上安装了Microsoft exchange 2010。因此,无需在此服务器中设置2个不同的电子邮件域(@abc.com和@def.com),以实现2个客户独立性(电子邮件@abc.com与域@def.com没有任何关系)


我可以这样设置我的服务器吗?

如果我正确阅读了您的问题,这称为multi-tennant Exchange。听起来您试图在一台服务器中管理多个客户端,而不是让它们在通讯簿、GAL、联系人列表等中看到对方

是的,这是可能的,也不难做到。您可以a)购买产品为您管理它(基于年度成本加上每个用户的成本),也可以在powershell中免费使用

请在谷歌上搜索“powershell多租户交换”,您将找到您要查找的内容。在stackexchange上发布一篇简单的帖子需要很多步骤,而且太多了,但这不是一项困难的任务,假设您是一名相当胜任的Exchange管理员

简而言之。在广告中制作一个名为“租户”之类的新OU。假设您现有的广告环境是“existing.com”。我们将添加“client1.com”,与现有用户或其他租户分开

现在进入powershell(显然是exchange):

工作完成了。现在您有了一个新租户,它对其他租户隐藏。对每个租户重复此过程

不用说,从现在起,您也不能使用GUI来管理用户-您需要使用powershell并记住将用户、组、别名、联系人等分配给租户,否则他们将看不到(更糟糕的是,错误的组会看到)


最后一句话-上述powershell已在Exchange 2013上全部测试并正常运行。我假设2010年一切正常,但2010年可能会有一些小的调整

我在active directory中创建了名为SPWEB OU的OU,但我不理解这一步:“假设您现有的广告环境是“existing.com”。我们将在其中添加“client1.com”。我找不到添加client1.com的位置
#***********CREATE THE NEW ACTIVE DIRECTORY CONTAINERS
New-ADOrganizationalUnit -Name client1 -Path "OU=Tenants,DC=existing,DC=com"
Set-ADForest -Identity existing.com -UPNSuffixes @{add="client1.com"}

#**********CREATE THE ACCEPTED DOMAIN NAME(S) FOR EMAILS (ADD BELOW AS REQUIRED)
New-AcceptedDomain -Name "client1.com" -DomainName client1.com -DomainType:Authoritative

 #**********CREATE THE  UNIQUE GAL & ADDRESS BOOKS
 New-GlobalAddressList -Name "client1 – GAL" -ConditionalCustomAttribute1 "client1" -IncludedRecipients MailboxUsers -RecipientContainer "existing.com/Tenants/client1"
New-OfflineAddressBook -Name "client1" -AddressLists "client1 – GAL"

#**********CREATE THE  UNIQUE GROUPS (rooms, users, etc)
New-AddressList -Name "client1 – All Rooms" -RecipientFilter "(CustomAttribute1 -eq 'client1') -and (RecipientDisplayType -eq 'ConferenceRoomMailbox')" -RecipientContainer "existing.com/Tenants/client1"
New-AddressList -Name "client1 – All Users" -RecipientFilter "(CustomAttribute1 -eq 'client1') -and (ObjectClass -eq 'User')" -RecipientContainer "existing.com/Tenants/client1"
New-AddressList -Name "client1 – All Contacts" -RecipientFilter "(CustomAttribute1 -eq 'client1') -and (ObjectClass -eq 'Contact')" -RecipientContainer "existing.com/Tenants/client1"
New-AddressList -Name "client1 – All Groups" -RecipientFilter "(CustomAttribute1 -eq 'client1') -and (ObjectClass -eq 'Group')" -RecipientContainer "existing.com/Tenants/client1"

#**********CREATE THE EMAIL ADDRESS POLICIES UNIQUE TO THE CLIENT
New-EmailAddressPolicy -Name "client1 – EAP" -RecipientContainer "existing.com/Tenants/client1" -IncludedRecipients "AllRecipients" -ConditionalCustomAttribute1 "client1" -EnabledEmailAddressTemplates "SMTP:%m@client1.com","smtp:%g.%s@client1.com","smtp:%g@client1.com"
Set-EmailAddressPolicy -Identity "client1 – EAP" -EnabledPrimarySMTPAddressTemplate "SMTP:%g@client1.com"
New-AddressBookPolicy -Name "client1" -AddressLists "client1 – All Users", "client1 – All Contacts", "client1 – All Groups" -GlobalAddressList "client1 – GAL" -OfflineAddressBook "client1" -RoomList "client1 – All Rooms"

#**********CREATE THEM A MEETING ROOM TO SHARE
New-Mailbox -Name 'client1 meeting' -Alias 'client1_meeting' -OrganizationalUnit 'existing.com/Tenants/client1' -UserPrincipalName 'meetingroom@client1.com' -SamAccountName 'client1_meeting' -FirstName 'Meeting' -LastName 'Room' -AddressBookPolicy 'client1' -Room
Set-Mailbox client1_meeting -CustomAttribute1 'client1'
Set-CalendarProcessing -Identity client1_meeting -AutomateProcessing AutoAccept -DeleteComments $true -AddOrganizerToSubject $true -AllowConflicts $false

#**********SET A TEMP PASSWORD (later on, change it and set the user's password to never expire. I'll put the powershell to do that in later. For now, just use the GUI.
$password = Read-Host "Enter password" -AsSecureString
mysupersecretpassword

New-Mailbox -Name 'Homer Simpsons' -Alias 'client1_arim' -OrganizationalUnit 'existing.com/Tenants/client1' -UserPrincipalName 'homer@client1.com' -SamAccountName 'client1_homer' -FirstName 'Homer' -LastName 'Simpson' -Password $password -ResetPasswordOnNextLogon $false -AddressBookPolicy 'client1'
Set-ADUser -Identity client1_arim -PasswordNeverExpires $true

#**********TAG THE NEWLY CREATED MAILBOXES TO THE CUSTOM ATTRIBUTE, SO enter code hereTHEY CAN SEE EACH OTHER, GET THEIR GAL, BOOKS, ETC.
Set-Mailbox client1_homer -CustomAttribute1 "client1"