Quantcast
Channel: Matt Parkinson - Notebook » Windows Server
Viewing all articles
Browse latest Browse all 10

Allow sender spoofing in Exchange 2007

0
0

Recently while working on a client’s exchange server I had the need to setup a user which could send from domains that were not being hosted on the server. The reason for this was due to a legacy application that was using the exchange server to send e-mails to mailing lists for an external company. On the first try I just attempted to authenticate using the domain credentials and send the e-mail however exchange will come back with the following error:

If the user and domain we were trying to send as existed on the exchange server we could simply add send as rights to allow us to send from the address. The problem here however is that the domain is on a remote server so we need to find a way to let us send as any address we want to. After some research over at Microsoft Technet it turns out there is a power shell command “Ms-Exch-SMTP-Accept-Any-Sender” which will allow a user to spoof their from address. To use this command you will need to open up the Exchange Management Shell and run the following command.

Get-ReceiveConnector “CONNECTOR” | Add-ADPermission -User “DOMAIN\USER” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Sender”

You will need to modify the “connector” and the “domain\user” parts to match up with your own configuration. As long as everything goes ok you can test spoofing the address again and this time it should go through. If you are not sure what the name of your connector is you can run “Get-ReceiveConnector” on it’s own to list the available ones.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images