In order to accomplish what you want, you will need to keep relaying enabled but use the Routing Restrictions option...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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: 18.104.22.168 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 Microsoft Exchange Servers
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.