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

沒有留言:

張貼留言

Windows 11 (business editions), version 25H2 (updated March 2026)

Windows 11 (business editions), version 25H2 (updated March 2026) (x64) - DVD (English) 已發行: 2026/3/17 SHA256: C72629DE809896C8B1C9100831117...