Create A Send Connector
The fresh exchange server installation will not have a connector send email to an internet email address. We need to create one to do so. Here are the how-to steps to create a send connector using the Exchange admin center. Login to Exchange Admin Center and goto MailflowàSend Connector. Click Add or + sign on top of the icons.
The New Send Connector wizard will open. Type a descriptive name and select Internet as type.
As we are going to send emails to internet users straight from the exchange server, we are going to select an MX record associated with the recipient domain and click Next.
Add address space, click + sign on the address space commands.
Type * in the FQDN column and click save.
Once the address space has been saved, click next.
On the Source Server, click + sign to add the only server we just installed.
Add the Exchange Server and click OK
We have completed Creating Send connector, click Finish to close the wizard.
Configure Virtual Directories
Exchange Server 2019 Installation and Configuration
We are going to configure virtual directories such as OWA, ActiveSync, and so on with the internal and external URLs using Exchange Management Shel. You can navigate to StartàMicrosoft Exchange Server from the Menu and right-click the Exchange Management shell and choose to run as Administrator to open elevated Shell to configure Virtual Directories.
The following script will set the virtual directories of each feature. We need to specify the Server_Name and FQDN variables relevant to our Exchange Server name and external domain name.
$Server_name = "ex"
$FQDN = "mail.mrigotechno.club"
Get-OWAVirtualDirectory -Server $Server_name | Set-OWAVirtualDirectory -InternalURL "https://$($FQDN)/owa" -ExternalURL "https://$($FQDN)/owa"
Get-ECPVirtualDirectory -Server $Server_name | Set-ECPVirtualDirectory -InternalURL "https://$($FQDN)/ecp" -ExternalURL "https://$($FQDN)/ecp"
Get-OABVirtualDirectory -Server $Server_name | Set-OABVirtualDirectory -InternalURL "https://$($FQDN)/oab" -ExternalURL "https://$($FQDN)/oab"
Get-ActiveSyncVirtualDirectory -Server $Server_name | Set-ActiveSyncVirtualDirectory -InternalURL "https://$($FQDN)/Microsoft-Server-ActiveSync" -ExternalURL "https://$($FQDN)/Microsoft-Server-ActiveSync"
Get-WebServicesVirtualDirectory -Server $Server_name | Set-WebServicesVirtualDirectory -InternalURL "https://$($FQDN)/EWS/Exchange.asmx" -ExternalURL "https://$($FQDN)/EWS/Exchange.asmx"
Get-MapiVirtualDirectory -Server $Server_name | Set-MapiVirtualDirectory -InternalURL "https://$($FQDN)/mapi" -ExternalURL https://$($FQDN)/mapi
You would see the Exchange Management Shell as shown in the below out after you copy and paste the script to the EMS.
Configure Outlook Anywhere
To Outlook Clients access from internal and external networks, we need to configure Outlook anywhere from the Servers/Outlook Anywhere settings with the exchange hostname(FQDN) such as mail.comain.com. You can navigate to Outlook Anywhere settings, as shown in the steps on the image.
Click OK to the Warning to Negotiate client authentication.
Set Service Connection Point
Exchange Server 2019 Installation and Configuration
The next step is to set the Autodiscover internal URI for internal outlook clients to get the Autodiscover details from the active directory. The Autodiscover internal URI will set the Service Connection Point(SCP) on the Active Directory.
Set-ClientAccessService -Identity ex -AutodiscoverServiceInternalURI https://mail.mrigotechno.club/Autodiscover/Autodiscover.xml
Rename default database and move database path
Move mailbox database path to separate disk for database and transactional log files to recover the database quickly in case of disk failure. I have mentioned C: drive where you can substitute with a relevant drive letter with the command below.
Get-MailboxDatabase -Server ex | Set-MailboxDatabase -Name MBX-DB-2019
Move-DatabasePath -Identity MBX-DB-2019 -EdbFilePath C:\ExchangeDatabases\MBX-DB-2019\MBX-DB-2019.EDB -LogFolderPath C:\ExchangeDatabases\MBX-DB-2019_Log
Install Certificate
We are going to create a Certificate Signing Request(CSR) on the Exchange Admin Center and install the certificate for the services like IIS, SMTP, and so on. Login to Exchange Admin Center and go to ServersàCertificate to create certificate signing request (CSR) file to generate a certificate from third-party Certification Authority (CA) like Verisign or GoDaddy.
The Certificate Signing certificate must be created by clicking the + sign on the Certificate tab. Select “Create a request for a certificate from a Certification Authority” and click Next.
Type a friendly name of the certificate and click Next.
We are going to request a Subject Alternative Name (SAN) certificate, so leave the default and click Next.
The request has to be saved on the Exchange server, click browse and select the only exchange server and click ok.
The exchange server has been selected click Next.
We skip this page, and we are going to create a request with some names where we can specify names on the list. Click Next.
Select only the FQDN that we used on the virtual directories and Outlook Anywhere. As you know, we provided the name mail.mrigotechno.club, alongside we need to add the name for Autodiscover, the subject name will be Autodiscover.mrigotechno.club, remove other local hostnames.
The local hostnames are removed and added only FQDN And autodiscover hostnames, click Next.
Type information about your organization and click Next.
Save the request in a file, type the UNC path, and click Next.
The Certificate Request has been created and using the CSR file, and we need to generate a Certificate from a third-party certification authority. Once certificates are received, come back to the Certificate tab on the Exchange Admin Center and select the request entry and click Complete to apply the Certificate.
Type the UNC path of the certificate received from the CA and click ok.
The next step is to assign services to the certificate, open the certificate entry on the EAC, and check the hostnames.
Go to Services on the same window select the services you want this certificate to use IIS and SMTP are selected generally, but if you wish to use IMAP and POP to use the certificate or these services are enabled, select them and click Save.
Click Yes to the confirmation message, and you would see valid in the Certificate Status.
Conclusion
In this article, we have discussed how to Install Exchange Server 2019 using Graphical User Interface and configured the server using the Exchange Admin Center and Exchange Management Shell. In my other three-part article, I have demonstrated how to migrate Exchange Server 2013 to Exchange Server 2019. I have added the link to those articles below. If you are interested in knowing how to install Exchange Server using the Command line, that article covers the installation process. You may have some questions or feedback to share with me, please click the comments below and share your thoughts. I’m so happy to answer your questions.
'IT이야기 > Exchange' 카테고리의 다른 글
step by step configuration of exchange server 2019(1) (0) | 2023.01.05 |
---|---|
Exchange 관리 센터 사서함 데이터베이스 분리(Dismount) 상태에서 탑재(Mount)되지 않는 증상 조치 방법 (0) | 2022.12.13 |
Exchange 2016: Deny External Access to EAC (0) | 2019.12.11 |
Exchange-Outlook 호환표 (0) | 2018.12.10 |
Get-ActiveExchangeUsers 2.0 (0) | 2016.12.12 |