Configuration Edge Server.
In this document, we will go without Edge subscription.
The public IP address is not displayed in the document.
Stop 'Microsoft Exchange Transport'
Open this file using this command on the 'run'
Notepad %ExchangeInstallPath%Bin\EdgeTransport.exe.config
3. Change 'QueueDatabasePath', 'QueueDatabaseLoggingPath'
I recommend seperate this path as other drive.
3.1 Create new disk if you need.
3.2 Enter the amount of space to shrink in MB
3.3 After shrink, allocate New Simple Volume
3.4 Assign drive letter properly
3.5 The new volum has been created
4. Set the both path as 'D:\Queue\QueueDB'
As-Is
To-Be
5. Start 'Microsoft Exchange Transport' again
6. The Queue DB location has changed
#Exchange 메일 송수신 Log 위치 변경
$path= "D:\ExchangeLogs"
#Transport Service
Get-Transportservice|Set-TransportService -ConnectivityLogPath "$path\edge\Connectivity" -MessageTrackingLogPath "$path\MessageTracking" -IrmLogPath "$path\IRMLogs" -ActiveUserStatisticsLogPath "$path\edge\ActiveUsersStats" -ServerStatisticsLogPath "$path\edge\ServerStats" -ReceiveProtocolLogPath "$path\edge\ProtocolLog\SmtpReceive" -RoutingTableLogPath "$path\edge\Routing"-SendProtocolLogPath "$path\edge\ProtocolLog\SmtpSend" -QueueLogPath "$path\edge\QueueViewer" -WlmLogPath "$path\edge\WLM" -PipelineTracingPath "$path\edge\PipelineTracing" -AgentLogPath "$path\edge\AgentLog" -DNSLogEnabled $true -DnsLogPath "$path\edge\DNSLog"
#암시적 송신 커넥터 로그 활성화
Get-TransportService|Set-TransportService -IntraOrgConnectorProtocolLoggingLevel Verbose
In the shell
2. After execute the command, you can check the 'ExchangeLogs' in the 'D:\'
Set-TransportConfig -InternalSMTPServers @{Add="<ip address1>","<ip address2>"...}
If you use public ssl certificate, you should bind the certificate on the SMTP service. Use following command on the Exchange management shell.
Enable-ExchangeCertificate -Thumbprint <Thumbprint> -Services SMTP
Before we start though, we will configure 'External → Edge → Exchange'
New-AcceptedDomain -Name whtpq.com -DomainName whtpq.com
Now, the EDGE can receive from external mails regarding to 'whtpq.com' domain
: Exteranl → Edge
New-SendConnector -Name "To whtpq.com" -AddressSpaces whtpq.com -SmartHosts 10.10.4.41
Now, the EDGE can send mails to the whtpq.com Exchange server(10.10.4.41)
: External → Edge → Exchange
We will configure this flow:
Exchange → Edge → External
New-ReceiveConnector -Name "From whtpq.com" -Bindings 0.0.0.0:25 -RemoteIPRanges 10.10.4.41-10.10.4.42
2. Add permission to the new receive connector
Get-ReceiveConnector -Identity "whtpqEDGE\From whtpq.com"|Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
New-SendConnector -Name "To External" -Internet -AddressSpaces *
2. Logging send/receive connector(Oprional)
Get-ReceiveConnector|Set-ReceiveConnector -ProtocolLoggingLevel Verbose
Get-SendConnector|Set-SendConnector -ProtocolLoggingLevel Verbose