SPAM from your own Domain – Microsoft Exchange 2010

Receiving SPAM from your own domain? It can be very frustrating however the following commands can tweak your receive connector permissions and resolve the issue.

Run the Microsoft Exchange PowerShell window from the Start Menu and run these commands:


That command returns the receive connector names. Find the one that has “Internet Receive” in the name and add that to the following command in place of the red text:

Get-ReceiveConnector “Windows SBS Internet Receive” | Get-ADPermission -user “NT AUTHORITY\Anonymous Logon” | where {$_.ExtendedRights -like “ms-exch-smtp-accept-authoritative-domain-sender”} | Remove-ADPermission

If you’re having issues following that command you can reverse the changes:

Get-ReceiveConnector “Windows SBS Internet Receive” | Add-ADPermission -User “NT AUTHORITY\Anonymous Logon” -ExtendedRights ms-exch-smtp-accept-authoritative-domain-sender

I came across this on a forum somewhere however can’t seem to find it again. Feel free to share the link if you find it.