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

沒有留言:

張貼留言

郵件流程寫得很完整的一篇文章

Exchange錯誤配置掀波 拉高電郵詐騙攻擊風險 | 網管人: https://www.netadmin.com.tw/netadmin/zh-tw/technology/9D0F1D03CA73461DAE075C2BD48CBE1A/