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: 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
There are a number of actions to take to implement OWA security, including obvious ones like creating strong password policies. Admins should also ...continue reading
Our resident Microsoft Lync expert explains where to find IP phones that are compatible with Microsoft Lync Server.continue reading
While Cisco IP phones are not directly compatible with Microsoft Lync Server, there are ways to make them compatible. Lync guru Richard Luckett ...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.