Exchange Server 2016 Four: Configure mail flow and Client access

Source: Internet
Author: User
Tags mx record fully qualified domain name

The previous article wrote about the deployment of Exchange Server 2016, and although the deployment is complete, we need to configure it to better standardize the use of our messaging system.

Before the server name of our mail server role is written contoso-mail01, if the user all through the name of the domain to connect to the mail server is obviously not in line with the normal use of everyone, so we need to change our visit to mail.contoso.com.

First, we create a new two record on the DC, a record mail, point to the mail server, an MX record.

A record creation

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none; border-bottom-width:0px;padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt = "image" src= "Http://s3.51cto.com/wyfs02/M01/76/3C/wKioL1ZNlArhJ0tZAADTNCqmGN0996.png" width= "385" height= "312"/ >

MX Record creation

650) this.width=650; "title=" image "style=" Border-right-width:0px;background-image:none;border-botto m-width:0px;padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src= "Http://s3.51cto.com/wyfs02/M02/76/3D/wKiom1ZNk7ewBEsNAADDWVV26IE395.png" width= "386" height= "367"/>

Once created, we started to do the rest of the configuration in our Exchange Management Console.

STEP1: Creating a Send connector

After we've created the Send connector, we can send our mail to the Internet (but if we create an edge server, we don't need to create a send connector here, the Edge server will automatically create it for us, and I'll show you how to deploy the Edge server later)

Without the edge, we open the Exchange Management console, locate the mail flow, and then select the Send connector

650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none; border-bottom-width:0px;padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt = "image" src= "Http://s3.51cto.com/wyfs02/M02/76/3C/wKioL1ZNlAzyYTC5AACTAvJbO7s810.png" width= "665" height= "311"/ >

Create a new Send connector in a new window, enter a name, select a type

650) this.width=650; "title=" image "style=" Border-right-width:0px;background-image:none;border-b ottom-width:0px;padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image " Src= "Http://s3.51cto.com/wyfs02/M00/76/3C/wKioL1ZNlA6DQTS2AADTSIX4av8088.png" width= "582" height= " 368"/>

Use MX record by default

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;b order-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src= "Http://s3.51cto.com/wyfs02/M01/76/3D/wKiom1ZNk7vhHT37AACscPExzFM006.png" height= "/> "

Add the fully qualified domain name to the address space *

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/76/3c/wkiol1znlbhyub-zaaduivmlyye038.png "height=" 416 "/>


Source server Select our mail server

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/76/3c/wkiol1znlblq_wqxaacgwuvyydg575.png "height=" 321 "/>

When we're done, we'll be able to see our new send linker.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/76/3d/wkiom1znk7_cqxltaabqs_4cbz8254.png "height=" 255 "/>

Upon completion, we need to configure our internal and external access address. Configure the external access address first.

Modify the Outlook Anywhere address

In the Management console server, select the server, edit the mail server, modify the address to mail.contoso.com

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/76/3d/wkiom1znk8hcxvezaafi8i1io7y534.png "height=" 420 "/>

After saving, go to the virtual machine directory to configure the virtual directory for unified configuration, click Configure external Access domain

Add the server, and then configure the access domain name to mail.contoso.com

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/76/3d/wkiom1znk8kjuqdwaadn-pqn6b4795.png "height=" 425 "/>

After we restart our IIS, we can view the URL of all our virtual directories changed to the domain name at the beginning of the mail after reboot.

To configure the internal URL:

Here we need to configure through the command line, open the Exchange Management Shell

Store the mail server name in variable form

$HostName = "Contoso-mail01"

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/76/3d/wkiom1znk8pt8eqoaabcdzgn9jc205.png "height="/>

Then run the following command separately

Set-ecpvirtualdirectory "$HostName \ECP (Default Web Site)"-internalurl ((get-ecpvirtualdirectory "$HostName \ECP ( Default Web Site). Externalurl)
Set-webservicesvirtualdirectory "$HostName \ews (Default Web Site)"-internalurl ((get-webservicesvirtualdirectory "$ Hostname\ews (Default Web Site). Externalurl)
Set-activesyncvirtualdirectory "$HostName \microsoft-server-activesync (Default Web Site)"-internalurl ( Get-activesyncvirtualdirectory "$HostName \microsoft-server-activesync (Default Web Site)"). Externalurl)
Set-oabvirtualdirectory "$HostName \oab (Default Web Site)"-internalurl ((get-oabvirtualdirectory "$HostName \oab ( Default Web Site). Externalurl)
Set-owavirtualdirectory "$HostName \owa (Default Web Site)"-internalurl ((get-owavirtualdirectory "$HostName \owa ( Default Web Site). Externalurl)
Set-powershellvirtualdirectory "$HostName \powershell (Default Web Site)"-internalurl ( Get-powershellvirtualdirectory "$HostName \powershell (Default Web Site)"). Externalurl)

Because it has been run before, so there are no changes to the prompt, as long as you run each.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/76/3d/wkiom1znk8xsaatbaacmelq-fyi101.png "height=" 135 "/>

After the operation is complete, we restart IIS, reboot to the virtual directory, we can see that our URLs are modified

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/76/3d/wkiom1znk8aziiwiaac2hgl4gi4711.png "height=" 366 "/>



Today, for the time being written so much, two days to continue ...

This article is from the "Li Fei _ignore" blog, be sure to keep this source http://ignore.blog.51cto.com/2247529/1714772

Exchange Server 2016 Four: Configure mail flow and Client access

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.