2018-06-28

Exchange Server 2013/2016設定郵件轉寄

Allow anonymous relay on Exchange servers
https://docs.microsoft.com/zh-tw/Exchange/mail-flow/connectors/allow-anonymous-relay

New-ReceiveConnector -Name "Anonymous Relay" -TransportRole FrontendTransport -Custom -Bindings 0.0.0.0:25 -RemoteIpRanges 192.168.5.10,192.168.5.11

Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Get-ReceiveConnector "Anonymous Relay" | Format-List Enabled,TransportRole,Bindings,RemoteIPRanges

Get-ADPermission "Anonymous Relay" -User "NT AUTHORITY\ANONYMOUS LOGON" | where {($_.Deny -eq $false) -and ($_.IsInherited -eq $false)} | Format-Table User,ExtendedRights

沒有留言:

張貼留言

最喜歡在華人的節慶日有折扣的國外雲端服務pCloud、Adguard

 一個是 pCloud ,雲端硬碟服務, https://www.pcloud.com/ 一個是擋廣告的 Adguard , https://adguard.com/zh_tw 這兩套買個終身方案,只要廠商不倒,真的蠻划算的!