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.
Related Q&A from Richard Luckett
Exchange was running low on space, and Outlook asked if I wanted to archive my email messages. What will happen if I do that?continue reading
We need to move more than 20,000 Exchange 2010 public folders to Exchange 2013. What's the best way to do this?continue reading
I'm migrating Exchange 2010 mailboxes to Exchange 2013. How will Outlook clients know the mailboxes moved after the migration?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.