Forum Discussion
Navishkar Sadheo
May 14, 2020Iron Contributor
Find receive connectors that can relay email externally - powershell
Hi All Is there a quick way I can find all receive connectors in my exchange organization that are capable of sending email externally? Appreciate any advice...
- May 14, 2020
If you want to find which send connectors are open relays, you can try the following:
Get-ReceiveConnector | Get-ADPermission | Where {$_.User -Like '*anon*' -And $_.ExtendedRights -Like 'ms-Exch-SMTP-Accept-Any-Recipient'} | ft Identity, User, ExtendedRights
HidMov
May 14, 2020Iron Contributor
If you want to find which send connectors are open relays, you can try the following:
Get-ReceiveConnector | Get-ADPermission | Where {$_.User -Like '*anon*' -And $_.ExtendedRights -Like 'ms-Exch-SMTP-Accept-Any-Recipient'} | ft Identity, User, ExtendedRights
Navishkar Sadheo
May 15, 2020Iron Contributor