Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange 2016 deployment implementation case-04.Ex basic configuration (middle)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The last part of the basic configuration "Exchange 2016 deployment and implementation case-04.Ex basic configuration (part I)" was updated yesterday. Thank you very much for your valuable comments.

Virtual directory auto-discovery configuration

Some friends may know that although there is an auto-discovery option in the virtual directory, the auto-discovery record cannot be configured in the graphical interface, as shown in the figure.

In fact, the auto-discovery path needs to be modified with a command. Let's first check what the current auto-discovery is writing.

View autodiscovery configuration command:

Get-ClientAccessService | select Name,AutoDiscoverServiceInternalUri

So how do we modify that, as shown in the figure:

Modify the autodiscover command:

Get-ClientAccessService | Set-ClientAccessService-AutoDiscoverServiceInternalUri "https://mail.itsoul.cn/Autodiscover/Autodiscover.xml"

So far, we have modified and completed the automatic discovery.

ECP configuration graphical interface

Refer to the screenshot and navigate to the server-virtual directory-Ecp- to modify

Refer to the screenshot and modify the ECP path. The internal and external network paths can be the same or different, as shown in the figure.

Command-line interface graphical interface we know how to modify, so how to modify the command-line interface? As shown in the figure:

Modify the ECP command:

Set-EcpVirtualDirectory-Identity "EXSrv02\ ecp (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/ecp"-ExternalUrl" https://mail.itsoul.cn/ecp"

Graphical interface for EWS configuration modification

Also, navigate to the server-virtual directory-EWS- modification

Modify the access path of internal and public network

We will modify the graphical interface on the command line interface, so let's see how to use the command to modify

Modify the EWS command:

Set-WebServicesVirtualDirectory-Identity "EXSrv02\ EWS (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/EWS/Exchange.asmx"-ExternalUrl" https://mail.itsoul.cn/EWS/Exchange.asmx"

MAPI modifies the graphical interface

Navigate to the server-virtual directory-Mapi- modification as shown in the figure

Modify the access path of internal and public network

Command line modification above I know how to modify the access address in the graphical interface, let's take a look at how to modify the command line

Modify the MAPI command:

Set-MapiVirtualDirectory-Identity "EXSrv02\ mapi (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/mapi"-ExternalUrl" https://mail.itsoul.cn/mapi"

ActiveSync modification graphical interface modification

Also open ECP to navigate to server-virtual directory-ActiveSync- to modify

Modify internal and public network access to URL

Command line modification above we learned how to modify using the graphical interface, and then let's take a look at how to use command line modification

Modify the command:

Set-ActiveSyncVirtualDirectory-Identity "EXSrv02\ Microsoft-Server-ActiveSync (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/Microsoft-Server-ActiveSync"-ExternalUrl" https://mail.itsoul.cn/Microsoft-Server-ActiveSync"

OAB Modification graphical interface modification as above, open ECP to navigate to server-virtual directory-OAB- modification

Modify internal and public network access to URL

Command line interface modification above we know how to modify the graphical interface, and then let's look at how to use the command line interface to modify

Modify the OAB command:

Set-OabVirtualDirectory-Identity "EXSrv02\ OAB (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/OAB"-ExternalUrl" https://mail.itsoul.cn/OAB"

OWA modification graphical interface modification

Open ECP to navigate to server-virtual directory-OWA- modification

Modify internal and public network access to URL

Command line interface modification above we saw how to modify OWA's intranet and extranet access URL through a graphical interface. Next, let's take a look at how the command line modifies OWA.

The command is as follows:

Set-OWAVirtualDirectory-Identity "EXSrv02\ owa (Default Web Site)"-InternalUrl "https://mail.itsoul.inter/owa"-ExternalUrl" https://mail.itsoul.cn/owa"

PowerShell modification graphical interface modification

Also open ECP to navigate to server-virtual directory-PowerShell- to modify

Modify internal and public network access to URL

Command line interface modification above I saw how to modify it through the graphical interface, and then let's see how to modify it through PowerShell

The command is as follows:

Set-PowerShellVirtualDirectory-Identity "EXSrv02\ PowerShell (Default Web Site)"-InternalUrl "http://mail.itsoul.inter/powershell"-ExternalUrl" http://mail.itsoul.cn/powershell"

Receive domain configuration

In the architecture design section, we see that customers require to use ITSoul.cn as the suffix for sending and receiving email, but the domain name of the domain we created is ITSoul.inter, so how to send and receive email using ITSoul.cn is relatively simple, as long as we create a receiving domain of ITSoul.cn and modify it using address policy.

Receive domain creation

Open ECP and navigate to Mail flow-accepted Domain-+, as shown in the figure:

Add the active domain name and domain name, and click next

Scope added complete

Address policy configuration

Refer to the screenshot and open ECP to navigate to Mail flow-email address Policy-+

Enter the address policy name and click "+"

Select the accepted domain and email address type

Check the summary and message type, message type

Refer to the screenshot and click "apply"

Click "Yes" with reference to the screenshot

Successful application of policy

Database creation

Refer to the screenshot, open ECP, and navigate to Server-Database-"+"

Enter the database name, path, and Log path, and you may see that my database EDB file path is not in the same path as Log, which is a best practice recommendation.

Just restart the relevant server.

The database is created. In the first part of the architecture design, we said that the mailbox quota of the leader is 5G, and we can directly modify the quota of the database. Or a single user to modify

Modify the database quota according to the screenshot. After the modification is completed, the mailbox quota for all users in the database is 5G.

User creation from the screenshot, we can see that Ex13 and Ex16 no longer support batch enabling of users in the graphical interface, but need to be enabled with commands.

I'll show you how to enable it through OU, as shown in the figure.

Check all the user commands in the database as follows:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report