- Настройка потока обработки почты и клиентского доступа на серверах Exchange Server Configure mail flow and client access on Exchange servers
- Что нужно знать перед началом работы What do you need to know before you begin?
- Шаг 1. Создание соединителя отправки в Интернет Step 1: Create an internet Send connector
- Шаг 2. Добавление дополнительных обслуживаемых доменов Step 2: Add additional accepted domains
- Шаг 3. Настройка политики электронных адресов по умолчанию Step 3: Configure the default email address policy
- Шаг 4. Настройка внешних URL-адресов Step 4: Configure external URLs
- Как убедиться, что все получилось? How do you know this step worked?
- Шаг 5. Настройка внутренних URL-адресов Step 5: Configure internal URLs
- Настройка внутреннего URL-адреса, совпадающего с внешним Configure internal and external URLs to be the same
- Как убедиться, что все получилось? How do you know this step worked?
- Настройка внутреннего URL-адреса, отличающегося от внешнего Configure different internal and external URLs
- Как убедиться, что все получилось? How do you know this step worked?
- Шаг 6. Настройка SSL-сертификата Step 6: Configure an SSL certificate
- Как убедиться, что все получилось? How do you know this step worked?
- Как убедиться, что это сработало? How do you know this task worked?
Настройка потока обработки почты и клиентского доступа на серверах Exchange Server Configure mail flow and client access on Exchange servers
После установки в организации Exchange Server 2016 или Exchange 2019 необходимо настроить Exchange для потока обработки почты и клиентского доступа. Если этого не сделать, отправлять почту в Интернет будет невозможно, а внешние клиенты (например, Microsoft Outlook и устройства с Exchange ActiveSync) не смогут подключаться к организации Exchange. After you’ve installed Exchange Server 2016 or Exchange 2019 in your organization, you need to configure Exchange for mail flow and client access. Without these additional steps, you won’t be able to send mail to the internet and external clients (for example, Microsoft Outlook, and Exchange ActiveSync devices) won’t be able to connect to your Exchange organization.
Действия, описанные в этом разделе, предполагают базовой развертывание Exchange с одним сайтом Active Directory и пространством имен SMTP. The steps in this topic assume a basic Exchange deployment with a single Active Directory site and a single simple mail transport protocol (SMTP) namespace.
В этой статье используются примеры значений, например Mailbox01, contoso.com, mail.contoso.com и 172.16.10.11. Замените их на значения имен серверов, FQDN и IP-адресов вашей организации. This topic uses example values such as Mailbox01, contoso.com, mail.contoso.com, and 172.16.10.11. Replace the example values with the server names, FQDNs, and IP addresses for your organization.
Дополнительные сведения о задачах управления, связанных с потоком обработки почты, клиентами и устройствами, см. в статьях Поток обработки почты и конвейер транспорта и Клиенты и мобильные устройства. For additional management tasks related to mail flow and clients and devices, see Mail flow and the transport pipeline and Clients and mobile.
Что нужно знать перед началом работы What do you need to know before you begin?
Предполагаемое время выполнения задачи: 50 минут. Estimated time to complete this task: 50 minutes
Вы можете получать предупреждения о сертификате при подключении к веб-сайту Центра администрирования Exchange, пока не настроите сертификат SSL на сервере почтовых ящиков. Как это сделать, будет показано далее в этом разделе. You might receive certificate warnings when you connect to the Exchange admin center (EAC) website until you configure a secure sockets layer (SSL) certificate on the Mailbox server. You’ll be shown how to do this later in this topic.
Сведения о том, как открыть Центр администрирования Exchange, см. в статье Центр администрирования Exchange в Exchange Server. Сведения о том, как открыть командную консоль Exchange, см. в статье Запуск командной консоли Exchange. To open the EAC, see Exchange admin center in Exchange Server. To open the Exchange Management Shell, see Open the Exchange Management Shell.
Сочетания клавиш для процедур, описанных в этой статье, приведены в статье Сочетания клавиш в Центре администрирования Exchange. For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Возникли проблемы? Попросите помощи на форумах Exchange. Перейти на форумы можно по следующим ссылкам: Exchange Server, Exchange Online или Exchange Online Protection. Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.
Шаг 1. Создание соединителя отправки в Интернет Step 1: Create an internet Send connector
Чтобы отправлять почту в Интернет, необходимо создать соединитель отправки на сервере почтовых ящиков. Инструкции см. в статье Создание соединителя отправки в Exchange Server для отправки почты в Интернет. Before you can send mail to the internet, you need to create a Send connector on the Mailbox server. For instructions, see Create a Send connector in Exchange Server to send mail to the internet.
По умолчанию при установке Exchange создается соединитель получения под названием «Интерфейсный сервер _ по умолчанию». Этот соединитель принимает анонимные подключения SMTP с внешних серверов. Вам не требуется проводить какую-либо дополнительную настройку, если это вас устраивает. Если вы хотите ограничить входящие подключения с внешних серверов, измените соединитель получения Интерфейсный сервер по умолчанию на сервере почтовых ящиков. Дополнительные сведения см. в разделе Стандартные соединители получения, создаваемые при установке. By default, a Receive connector named «Default Frontend _» is created when Exchange is installed. This Receive connector accepts anonymous SMTP connections from external servers. You don’t need to do any additional configuration if this is the functionality you want. If you want to restrict inbound connections from external servers, modify the Default Frontend Receive connector on the Mailbox server. For more information, see Default Receive connectors created during setup.
Шаг 2. Добавление дополнительных обслуживаемых доменов Step 2: Add additional accepted domains
По умолчанию в Exchange используется домен Active Directory, где для электронных адресов была выполнена команда Setup /PrepareAD. Если вы хотите, чтобы получатели могли принимать сообщения с других доменов и отправлять сообщения на них, то этот домен необходимо добавить в качестве обслуживаемого. Инструкции см. в статьях Создание обслуживаемых доменов и Настройка Exchange для приема почты с нескольких уполномоченных доменов. By default, Exchange uses the Active Directory domain where Setup /PrepareAD was run for email addresses. If you want recipients to receive and send messages to and from another domain, you need to add the domain as an accepted domain. For instructions, see Create accepted domains and Configure Exchange to accept mail for multiple authoritative domains.
Чтобы получать из Интернета почту для того или иного домена, в общедоступной службе DNS необходимо создать запись ресурса MX для этого домена. Каждая запись MX должна разрешаться в сервер с выходом в Интернет, получающий электронную почту для вашей организации. To receive email from the internet for a domain, you need an MX resource record in your public DNS for that domain. Each MX record should resolve to the internet-facing server that receives email for your organization.
Шаг 3. Настройка политики электронных адресов по умолчанию Step 3: Configure the default email address policy
Для выполнения этих процедур необходимы соответствующие разрешения. Сведения о необходимых разрешениях см. в статье запись «Политики адресов электронной почты» в статье Разрешения для электронных адресов и адресных книг. You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the «Email address policies» entry in the Email address and address book permissions topic.
Если вы добавили обслуживаемый домен на предыдущем этапе и хотите, чтобы он добавился для каждого получателя в организации, необходимо обновить политику электронных адресов по умолчанию. Инструкции см. в статьях Изменение политик адресов электронной почты и Применение политик адресов электронной почты к получателям. If you added an accepted domain in the previous step and you want that domain to be added to every recipient in the organization, you need to update the default email address policy. For instructions, see Modify email address policies and Apply email address policies to recipients.
Рекомендуем настроить имя участника-пользователя, которое совпадает с основным адресом электронной почты каждого пользователя. Если не указать имя участника-пользователя, совпадающее с электронным адресом пользователя, пользователь будет вынужден вручную указать домен и имя пользователя или имя участника-пользователя в дополнение к электронному адресу. Если его UPN соответствует электронному адресу, Outlook в Интернете (прежнее название — Outlook Web App), ActiveSync и Outlook автоматически сопоставят электронный адрес с UPN. We recommend that you configure a user principal name (UPN) that matches the primary email address of each user. If you don’t provide a UPN that matches the email address of a user, the user will be required to manually provide their domain\username or UPN in addition to their email address. If their UPN matches their email address, Outlook on the web (formerly known as Outlook on the web), ActiveSync, and Outlook will automatically match their email address to their UPN.
Шаг 4. Настройка внешних URL-адресов Step 4: Configure external URLs
Для выполнения этих процедур необходимы соответствующие разрешения. Сведения о необходимых разрешениях см. в разделе «Настройки виртуального каталога » в статье Разрешения клиентов и мобильных устройств. You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the » virtual directory settings» entry in the Clients and mobile devices permissions topic.
Прежде чем клиенты смогут подключаться к новому серверу из Интернета, необходимо настроить внешние домены (или URL-адреса) в виртуальных каталогах во внешних службах клиентского доступа на сервере почтовых ящиков, а затем в общедоступных записях DNS. Ниже описана настройка одного и того же внешнего домена для внешних URL-адресов каждого виртуального каталога. Если вы хотите настроить другие внешние домены для одного или нескольких внешних URL-адресов виртуальных каталогов, необходимо настроить внешние URL-адреса вручную. Дополнительные сведения см. в статье Параметры по умолчанию для виртуальных каталогов Exchange. Before clients can connect to your new server from the internet, you need to configure the external domains (or URLs) on the virtual directories in the Client Access (frontend) services on the Mailbox server and then in your public DNS records. The steps below configure the same external domain on the external URL of each virtual directory. If you want to configure different external domains on one or more virtual directory external URLs, you need to configure the external URLs manually. For more information, see Default settings for Exchange virtual directories.
Откройте Центр администрирования Exchange и выберите Серверы > Серверы, укажите ваш сервер почтовых ящиков с выходом в Интернет, к которому будут подключаться клиенты, а затем нажмите Изменить . Open the EAC and go to Servers > Servers, select your internet-facing Mailbox server that your clients will connect to, and then click Edit .
В открывшемся окне свойств сервера Exchange Server выберите вкладку Мобильный Outlook и настройте следующие параметры: In the Exchange server properties window that opens, select the Outlook Anywhere tab, configure the following settings:
Укажите имя внешнего узла. Введите доступное извне имя FQDN, с помощью которого внешние клиенты будут подключаться к своим почтовым ящикам (например, mail.contoso.com). Specify the external host name. : Enter the externally accessible FQDN that your external clients will use to connect to their mailboxes (for example, mail.contoso.com).
Укажите имя внутреннего узла. Введите имя FQDN, доступное внутри организации (например, mail.contoso.com). Specify the internal host name. : Enter the internally accessible FQDN (for example, mail.contoso.com).
По завершении нажмите кнопку Сохранить. When you’re finished, click Save.
Выберите Серверы > Виртуальные каталоги, а затем нажмите Настроить домен внешнего доступа . Go to Servers > Virtual directories and then select Configure external access domain .
В открывшемся окне Настроить домен внешнего доступа настройте следующие параметры: In the Configure external access domain window opens, configure the following settings:
Выберите серверы почтовых ящиков для использования с внешним URL-адресом. Нажмите Добавить . Select the Mailbox servers to use with the external URL: Click Add
В открывшемся диалоговом окне Выбор сервера выберите нужный сервер почтовых ящиков и нажмите Добавить. Добавив все нужные серверы почтовых ящиков, нажмите кнопку ОК. In the Select a server dialog that opens, select the Mailbox server you want to configure and then click Add. After you’ve added all of the Mailbox servers that you want to configure, click OK.
Введите доменное имя, которое будет использоваться для внешних серверов почтовых ящиков. Укажите внешний домен, который нужно применить (например, mail.contoso.com). По завершении нажмите кнопку Сохранить. Enter the domain name you will use with your external Mailbox servers: Enter the external domain that you want to apply (for example, mail.contoso.com). When you’re finished, click Save.
Некоторые организации используют уникальное имя FQDN для Outlook в Интернете, чтобы защититься от изменений, вызванных изменениями в FQDN базового сервера. Во многих организациях используется имя owa.contoso.com (а не mail.contoso.com) в качестве FQDN для Outlook в Интернете. Если вы хотите задать уникальное полное доменное имя Outlook в Интернете, выполните указанные ниже действия. В этом контрольном списке предполагается, что вы задали уникальное имя FQDN для Outlook в Интернете. Some organizations use a unique Outlook on the web FQDN to protect against future changes to the underlying server FQDN. Many organizations use owa.contoso.com for their Outlook on the web FQDN instead of mail.contoso.com. If you want to configure a unique Outlook on the web FQDN, do the following steps. This checklist assumes you have configured a unique Outlook on the web FQDN.
Вернитесь к разделу Серверы > Виртуальные каталоги, выберите owa (веб-сайт по умолчанию) на нужном сервере, а затем нажмите Изменить . Back at Servers > Virtual directories, select owa (Default Web Site) on the server that you want to configure, and then click Edit .
Откроется окно owa (веб-сайт по умолчанию). На вкладке Общие введите в поле Внешний URL-адрес следующие сведения: The owa (Default web site) window opens. On the General tab in the External URL field, enter the following information:
Уникальное имя FQDN Outlook в Интернете (например, owa.contoso.com) с добавленным суффиксом /owa. Пример: https://owa.contoso.com/owa. The unique Outlook on the web FQDN you want to use (for example, owa.contoso.com), and then append /owa. For example, https://owa.contoso.com/owa.
В этом примере конечным значением будет https://owa.contoso.com/owa In this example, the final value would be https://owa.contoso.com/owa
По завершении нажмите кнопку Сохранить. When you’re finished, click Save.
Вернитесь к разделу Серверы > Виртуальные каталоги, выберите ecp (веб-сайт по умолчанию) на нужном сервере, а затем нажмите Изменить . Back at Servers > Virtual directories, select ecp (Default Web Site) on the server that you want to configure, and click Edit .
В открывшемся окне ecp (веб-сайт по умолчанию) введите URL-адрес с предыдущего этапа, добавив значение /ecp вместо /owa (например, https://owa.contoso.com/ecp). In the ecp (Default web site) window that opens, enter the same URL from the previous step, but append the value /ecp instead of /owa (for example, https://owa.contoso.com/ecp). По завершении нажмите Сохранить. When you’re finished, click Save.
Настроив внешний URL-адрес в виртуальных каталогах служб клиентского доступа на сервере почтовых ящиков, настройте общедоступные записи DNS для Outlook в Интернете, а также для автообнаружения и потока обработки почты. Эти записи должны указывать на внешний IP-адрес или имя FQDN сервера почтовых ящиков, подключенного к Интернету. Кроме того, они должны использовать доступные извне полные доменные имена, настроенные на сервере почтовых ящиков. В представленной ниже таблице описываются записи DNS, которые необходимо создать для обеспечения потока обработки почты и подключения внешних клиентов. After you’ve configured the external URL in the Client Access services virtual directories on the Mailbox server, you need to configure your public DNS records for Autodiscover, Outlook on the web, and mail flow. The public DNS records should point to the external IP address or FQDN of your internet-facing Mailbox server and use the externally accessible FQDNs that you’ve configured on your Mailbox server. The recommended DNS records that you should create to enable mail flow and external client connectivity are described in the following table:
Полное доменное имя FQDN | Тип записи DNS DNS record type | Значение Value |
---|---|---|
Contoso.com Contoso.com | MX MX | Mail.contoso.com Mail.contoso.com |
Mail.contoso.com Mail.contoso.com | A A | 172.16.10.11 172.16.10.11 |
Owa.contoso.com Owa.contoso.com | CNAME CNAME | Mail.contoso.com Mail.contoso.com |
Autodiscover.contoso.com Autodiscover.contoso.com | CNAME CNAME | Mail.contoso.com Mail.contoso.com |
Как убедиться, что все получилось? How do you know this step worked?
Чтобы убедиться, что вы успешно настроили внешние URL-адреса в виртуальных каталогах служб клиентского доступа на сервере почтовых ящиков, выполните указанные ниже действия. To verify that you’ve successfully configured the external URLs in the Client Access services virtual directories on the Mailbox server, do the following steps:
В Центре администрирования Exchange выберите Серверы > Виртуальные каталоги. In the EAC, go to Servers > Virtual directories.
В поле Выберите сервер укажите сервер почтовых ящиков с выходом в Интернет. In the Select server field, select the internet-facing Mailbox server.
Выберите виртуальный каталог, а затем в области сведений проверьте, содержит ли поле Внешний URL-адрес правильное полное доменное имя, как в приведенной ниже таблице. Select a virtual directory and then, in the virtual directory details pane, verify that the External URL field is populated with the correct FQDN and service as shown in the following table:
Виртуальный каталог Virtual directory | Значение внешнего URL-адреса External URL value |
---|---|
АвтообнаружениеAutodiscover | Внешний URL-адрес не отображается No external URL displayed |
ECPECP | https://owa.contoso.com/ecp |
EWSEWS | https://mail.contoso.com/EWS/Exchange.asmx |
Microsoft-Server-ActiveSyncMicrosoft-Server-ActiveSync | https://mail.contoso.com/Microsoft-Server-ActiveSync |
OABOAB | https://mail.contoso.com/OAB |
OWAOWA | https://owa.contoso.com/owa |
PowerShellPowerShell | http://mail.contoso.com/PowerShell |
Чтобы убедиться, что общедоступные записи DNS успешно настроены, выполните указанные ниже действия. To verify that you’ve successfully configured your public DNS records, do the following steps:
Откройте командную строку и запустите программу nslookup.exe . Open a command prompt and run nslookup.exe .
Измените значение на DNS-сервер, который может обращаться с запросами к общедоступной зоне DNS. Change to a DNS server that can query your public DNS zone.
Используя nslookup , найдите запись для всех созданных полных доменных имен. Убедитесь, что для каждого FQDN возвращается правильное значение. In nslookup , look up the record of each FQDN you created. Verify that the value that’s returned for each FQDN is correct.
Используя nslookup , введите set type=mx и найдите обслуживаемый домен, добавленный на шаге 1. Убедитесь, что возвращенное значение соответствует FQDN сервера почтовых ящиков. In nslookup , type set type=mx and then look up the accepted domain you added in Step 1. Verify that the value returned matches the FQDN of the Mailbox server.
Шаг 5. Настройка внутренних URL-адресов Step 5: Configure internal URLs
Для выполнения этих процедур необходимы соответствующие разрешения. Сведения о необходимых разрешениях см. в разделе «Настройки виртуального каталога » в статье Разрешения клиентов и мобильных устройств. You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the » virtual directory settings» entry in the Clients and mobile devices permissions topic.
Чтобы клиенты могли подключаться к новому серверу из внутренней сети, необходимо настроить внутренние домены (или URL-адреса) в виртуальных каталогах служб клиентского доступа (внешних) на сервере почтовых ящиков, а затем настроить внутренние записи DNS. Before clients can connect to your new server from your internal network, you need to configure the internal domains (or URLs) on the virtual directories in the Client Access (frontend) services on the Mailbox server and then in your internal DNS records.
Выполнив описанные ниже действия, вы сможете выбрать, нужно ли пользователям использовать один и тот же URL-адрес для доступа к серверу Exchange Server в интрасети и Интернете или разные URL-адреса. Это решение зависит от текущей схемы адресации или от схемы, которую вы хотите внедрить. Если внедряется новая схема адресации, рекомендуем использовать один и тот же URL-адрес для внутреннего и внешнего серверов. В случае применения одного URL-адреса пользователям будет проще получить доступ к серверу Exchange Server, так как им достаточно будет запомнить один адрес. The procedure below lets you choose whether you want users to use the same URL on your intranet and on the internet to access your Exchange server or whether they should use a different URL. What you choose depends on the addressing scheme you have in place already or that you want to implement. If you’re implementing a new addressing scheme, we recommend that you use the same URL for both internal and external URLs. Using the same URL makes it easier for users to access your Exchange server because they only have to remember one address.
Независимо от вашего решения необходимо настроить частную зону DNS для настраиваемого адресного пространства. Дополнительные сведения об администрировании зон DNS см. в статье Администрирование DNS-сервера. Regardless of your decision, you need to configure a private DNS zone for the address space you choose. For more information about administering DNS zones, see Administering DNS Server.
Дополнительные сведения о внутренних и внешних URL-адресах в виртуальных каталогах см. в статьях Параметры по умолчанию для виртуальных каталогов Exchange и Управление виртуальным каталогом. For more information about internal and external URLs on virtual directories, see Default settings for Exchange virtual directories Virtual Directory Management.
Настройка внутреннего URL-адреса, совпадающего с внешним Configure internal and external URLs to be the same
Откройте консоль управления Exchange на сервере почтовых ящиков. Open the Exchange Management Shell on your Mailbox server.
Сохраните имя узла сервера почтовых ящиков в переменной, которая будет использоваться на следующем этапе. Пример: Mailbox01. Store the host name of your Mailbox server in a variable that will be used in the next step. For example, Mailbox01.
Выполните все приведенные ниже команды в командной консоли Exchange, чтобы задать внутренние URL-адреса, соответствующие внешнему URL-адресу виртуального каталога. Run each of the following commands in the Exchange Management Shell to configure each internal URL to match the virtual directory’s external URL.
Настроив внутренний URL-адрес в виртуальных каталогах сервера почтовых ящиков, настройте частные записи DNS для Outlook в Интернете и других возможностей подключения. В зависимости от конфигурации нужно будет настроить эти записи так, чтобы они указывали на внутренний или внешний IP-адрес либо имя FQDN сервера почтовых ящиков. В представленной ниже таблице приведены примеры рекомендуемых записей DNS, которые следует создать. After you’ve configured the internal URL on the Mailbox server virtual directories, you need to configure your private DNS records for Outlook on the web and other connectivity. Depending on your configuration, you’ll need to configure your private DNS records to point to the internal or external IP address or FQDN of your Mailbox server. Examples of recommended DNS records that you should create are described in the following table:
FQDN FQDN | Тип записи DNS DNS record type | Значение Value |
---|---|---|
Mail.contoso.com Mail.contoso.com | CNAME CNAME | Mailbox01.corp.contoso.com Mailbox01.corp.contoso.com |
Owa.contoso.com Owa.contoso.com | CNAME CNAME | Mailbox01.corp.contoso.com Mailbox01.corp.contoso.com |
Как убедиться, что все получилось? How do you know this step worked?
Чтобы убедиться, что вы успешно настроили внутренний URL-адрес в виртуальных каталогах сервера почтовых ящиков, сделайте следующее: To verify that you’ve successfully configured the internal URL on the Mailbox server virtual directories, do the following:
В Центре администрирования Exchange выберите Серверы > Виртуальные каталоги. In the EAC, go to Servers > Virtual directories.
В поле Выберите сервер укажите сервер почтовых ящиков с выходом в Интернет. In the Select server field, select the internet-facing Mailbox server.
Выберите виртуальный каталог и нажмите Изменить . Select a virtual directory and then click Edit .
Проверьте, указаны ли в поле Внутренний URL-адрес правильное полное доменное имя и служба, как показано в приведенной ниже таблице. Verify that the Internal URL field is populated with the correct FQDN and service as shown in the following table:
Виртуальный каталог Virtual directory | Значение внутреннего URL-адреса Internal URL value |
---|---|
АвтообнаружениеAutodiscover | Внутренний URL-адрес не отображается No internal URL displayed |
ECPECP | https://owa.contoso.com/ecp |
EWSEWS | https://mail.contoso.com/EWS/Exchange.asmx |
Microsoft-Server-ActiveSyncMicrosoft-Server-ActiveSync | https://mail.contoso.com/Microsoft-Server-ActiveSync |
OABOAB | https://mail.contoso.com/OAB |
OWAOWA | https://owa.contoso.com/owa |
PowerShellPowerShell | http://mail.contoso.com/PowerShell |
Чтобы убедиться в том, что частные записи DNS успешно настроены, выполните следующие действия: To verify that you have successfully configured your private DNS records, do the following:
Откройте командную строку и выполните nslookup.exe . Open a command prompt and run nslookup.exe .
Измените значение на DNS-сервер, который может обращаться с запросами к частной зоне DNS. Change to a DNS server that can query your private DNS zone.
Используя nslookup , найдите запись для всех созданных полных доменных имен. Убедитесь, что для каждого FQDN возвращается правильное значение. In nslookup , look up the record of each FQDN you created. Verify that the value that’s returned for each FQDN is correct.
Настройка внутреннего URL-адреса, отличающегося от внешнего Configure different internal and external URLs
Откройте Центр администрирования Exchange и выберите Серверы > Виртуальные каталоги. Open the EAC, and go to Servers > Virtual directories,
На сервере почтовых ящиков с выходом в Интернет выберите нужный виртуальный каталог и нажмите Изменить . On the internet-facing Mailbox server, select the virtual directory that you want to configure, and then click Edit .
Откроется окно свойств виртуального каталога. В поле Внутренний URL-адрес замените текущее значение имени узла (скорее всего, это FQDN сервера почтовых ящиков) на новое значение (например, internal.contoso.com). The virtual directory properties window opens. In the Internal URL field, replace the existing host name value in the URL (likely, the FQDN of the Mailbox server) with the new value that you want to use (for example, internal.contoso.com).
Например, в свойствах виртуального каталога веб-служб Exchange (EWS) замените текущее значение https://Mailbox01.corp.contoso.com/ews/exchange.asmx на https://internal.contoso.com/ews/exchange.asmx. For example, in the properties of the Exchange Web Services (EWS) virtual directory, change the existing value from https://Mailbox01.corp.contoso.com/ews/exchange.asmx to https://internal.contoso.com/ews/exchange.asmx.
Когда закончите, нажмите кнопку Сохранить. When you’re finished, click Save.
Повторите предыдущие действия для каждого виртуального каталога, который требуется изменить. Repeat the previous steps for each virtual directory you want to change.
Внутренние URL-адреса виртуальных каталогов ECP и OWA должны быть одинаковыми. В виртуальном каталоге автообнаружения невозможно задать внутренний URL-адрес. The ECP and OWA virtual directory internal URLs must be the same. You can’t set an internal URL on the Autodiscover virtual directory.
Настроив внутренний URL-адрес в виртуальных каталогах сервера почтовых ящиков, настройте частные записи DNS для Outlook в Интернете и других подключений. В зависимости от конфигурации нужно будет настроить эти записи так, чтобы они указывали на внутренний или внешний IP-адрес либо имя FQDN сервера почтовых ящиков. В представленной ниже таблице приведены примеры рекомендуемых записей DNS, которые следует создать. After you’ve configured the internal URL on the Mailbox server virtual directories, you need to configure your private DNS records for Outlook on the web, and other connectivity. Depending on your configuration, you’ll need to configure your private DNS records to point to the internal or external IP address or FQDN of your Mailbox server. An example of the recommended DNS record that you should create is described in the following table:
Полное доменное имя FQDN | Тип записи DNS DNS record type | Значение Value |
---|---|---|
internal.contoso.com internal.contoso.com | CNAME CNAME | Mailbox01.corp.contoso.com Mailbox01.corp.contoso.com |
Как убедиться, что все получилось? How do you know this step worked?
Чтобы убедиться, что вы успешно настроили внутренние URL-адреса в виртуальных каталогах служб клиентского доступа на сервере почтовых ящиков, выполните указанные ниже действия. To verify that you’ve successfully configured the internal URLs in the Client Access services virtual directories on the Mailbox server, do the following steps:
В Центре администрирования Exchange выберите Серверы > Виртуальные каталоги. In the EAC, go to Servers > Virtual directories.
В поле Выберите сервер укажите сервер почтовых ящиков с выходом в Интернет. In the Select server field, select the internet-facing Mailbox server.
Выберите виртуальный каталог и нажмите Изменить . Select a virtual directory and then click Edit .
Проверьте, чтобы в поле Внутренний URL-адрес было указано правильное полное доменное имя. Например, вы настроили внутренние URL-адреса для использования internal.contoso.com. Verify that the Internal URL field is populated with the correct FQDN. For example, you may have set the internal URLs to use internal.contoso.com.
Виртуальный каталог Virtual directory | Значение внутреннего URL-адреса Internal URL value |
---|---|
АвтообнаружениеAutodiscover | Внутренний URL-адрес не отображается No internal URL displayed |
ECPECP | https://internal.contoso.com/ecp |
EWSEWS | https://internal.contoso.com/EWS/Exchange.asmx |
Microsoft-Server-ActiveSyncMicrosoft-Server-ActiveSync | https://internal.contoso.com/Microsoft-Server-ActiveSync |
OABOAB | https://internal.contoso.com/OAB |
OWAOWA | https://internal.contoso.com/owa |
PowerShellPowerShell | http://internal.contoso.com/PowerShell |
Чтобы убедиться, что частные записи DNS успешно настроены, выполните указанные ниже действия. To verify that you’ve successfully configured your private DNS records, do the following:
Откройте командную строку и запустите программу nslookup.exe . Open a command prompt and run nslookup.exe .
Измените значение на DNS-сервер, который может обращаться с запросами к частной зоне DNS. Change to a DNS server that can query your private DNS zone.
Используя nslookup , найдите запись для всех созданных полных доменных имен. Убедитесь, что для каждого FQDN возвращается правильное значение. In nslookup , look up the record of each FQDN you created. Verify that the value that’s returned for each FQDN is correct.
Шаг 6. Настройка SSL-сертификата Step 6: Configure an SSL certificate
Некоторые службы, такие как мобильный Outlook и Exchange ActiveSync, требуют настройки сертификатов на сервере Exchange Server. Ниже показано, как настроить SSL-сертификат от стороннего центра сертификации (ЦС). Some services, such as Outlook Anywhere and Exchange ActiveSync, require certificates to be configured on your Exchange server. The following steps show you how to configure an SSL certificate from a third-party certificate authority (CA):
Сертификат следует запросить у стороннего ЦС, чтобы клиенты автоматически ему доверяли. Дополнительные сведения см. в статье Рекомендации для сертификатов Exchange. You should request a certificate from a third-party CA so your clients automatically trust the certificate. For more information, see Best practices for Exchange certificates.
Если внутренний и внешний URL-адреса совпадают, в полях Outlook в Интернете (при доступе через Интернет) и Outlook в Интернете (при доступе через интрасеть) будет показан адрес owa.contoso.com. В полях Автономная адресная книга (при доступе через Интернет) и Автономная адресная книга (при доступе через интрасеть) будет показан адрес mail.contoso.com. If you configured your internal and external URLs to be the same, Outlook on the web (when accessed from the internet) and Outlook on the web (when accessed from the Intranet) should both show owa.contoso.com. OAB (when accessed from the internet) and OAB (when accessed from the Intranet) should show mail.contoso.com.
Если заданы внутренние URL-адреса формата internal.contoso.com, в поле Outlook в Интернете (при доступе через Интернет) будет показан адрес owa.contoso.com, а в поле Outlook в Интернете (при доступе через интрасеть) — адрес internal.contoso.com. If you configured the internal URLs to be internal.contoso.com, Outlook on the web (when accessed from the internet) should show owa.contoso.com and Outlook on the web (when accessed from the Intranet) should show internal.contoso.com.
Как минимум, следует выбрать SMTP и IIS. At minimum, you should select SMTP and IIS.
При появлении предупреждения Перезаписать существующий SMTP-сертификат по умолчанию? нажмите кнопку Да. If you receive the warning Overwrite the existing default SMTP certificate?, click Yes.
Как убедиться, что все получилось? How do you know this step worked?
Чтобы убедиться, что вы успешно добавили новый сертификат, выполните указанные ниже действия. To verify that you’ve successfully added a new certificate, do the following steps:
В Центре администрирования Exchange последовательно выберите пункты Серверы > Сертификаты. In the EAC, go to Servers > Certificates.
Выберите новый сертификат и затем в области сведений убедитесь, что выполнены следующие условия: Select the new certificate and then, in the certificate details pane, verify that the following are true:
значение параметра Состояние равно Действительный; Status shows Valid
в поле Назначен службам указаны как минимум IIS и SMTP. Assigned to services shows, at minimum, IIS and SMTP.
Как убедиться, что это сработало? How do you know this task worked?
Чтобы убедиться, что вы настроили поток обработки почты и внешний клиентский доступ, выполните указанные ниже действия. To verify that you’ve configured mail flow and external client access, do the following steps:
Создайте новый профиль в приложении Outlook и/или на устройстве ActiveSync. Убедитесь, что новый профиль успешно создается в Outlook или на мобильном устройстве. In Outlook, on an Exchange ActiveSync device, or on both, create a new profile. Verify that Outlook or the mobile device successfully creates the new profile.
В Outlook или на мобильном устройстве отправьте новое сообщение внешнему получателю. Убедитесь, что внешний получатель получил сообщение. In Outlook, or on the mobile device, send a new message to an external recipient. Verify the external recipient receives the message.
В почтовом ящике внешнего получателя ответьте на сообщение, отправленное из почтового ящика Exchange. Убедитесь, что сообщение успешно доставлено в почтовый ящик Exchange. In the external recipient’s mailbox, reply to the message you just sent from the Exchange mailbox. Verify the Exchange mailbox receives the message.