In order to accomplish what you want, you will need to keep relaying enabled but use the Routing Restrictions option in the Routing tab of the IMS. Once there, you will want to configure a range of address in the Hosts and Clients with these IP addresses option.
It is a bit tricky to configure a range, as it does not let you specify a starting address and ending address. Instead, you must enter and IP address with its subnet mask, which essentially gives relay rights to the entire subnet. If you want to specify an individual IP address, then you must use the syntax: 184.108.40.206 255.255.255.255. In addition to this, you do not want to include IP addresses for any of your Exchange servers.
For more information on configuring and testing controlled relays see Knowledge Base article 836500, "Relaying and unsolicited commercial e-mail in Exchange Server 5.5".
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Legacy Exchange Server versions
Related Q&A from Richard Luckett
Some folders in a mailbox on Exchange Server 2013 are not showing up on the folder list in the OWA virtual directory but do appear in other views. Continue Reading
We have a Client Access Server and Mailbox Server on Exchange 2013 and we want to install an Edge Transport role on another machine. I joined the ... Continue Reading
How can I enable Outlook Anywhere to allow internal use for all users and external use for only some users in Exchange 2013? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.