You can use the SMTP Virtual Servers and configure the different settings so that you can control the entire system and avoid users from sending out spam. To access the SMTP Virtual Server, you need to go to the Server object to select Exchange System Manager. From Exchange System Manager, go to the Protocols container and then to the SMTP node. Right click the default SMTP Virtual Server to select Properties.
In the dialog box that appears, select the tab named Access (see Fig 1 in Screenshots section). Click on the Authentication button to access the Authentication dialog box (fig 2 in Screenshots section). You can specify the different authentication methods for accessing the SMTP Virtual Server. The first option is the Anonymous Access, which if checked, will allow any type of client to use SMTP relays and talk to your server. The Basic Authentication allows users to send text credentials to authenticate. The latter is more secure. The third option in the dialog box is the Integrated Windows Authentication checkbox. Keep it checked. Many network administrators remove it assuming that Exchange Servers do not need SMTP at all. This may lead to possible loss of emails.
Coming back to the Access Settings (Fig 1), click on the Relay button to secure the relays through the Exchange Server. In the dialog box that appears (Fig 3 in Screenshots section), you can specify which computers can use relays. Uncheck the option at the bottom of the dialog that allows all authenticated computers to use relays. This offers more protection from spam. Even after unchecking the box, the Exchange Servers are able to deliver mail to the recipient or forward it. Hence, there is no use of taking unnecessary risk by keeping the option open.
Once you remove the check on the "Allow all computers…" in the dialog box, you are able to access the Users button on the same dialog box. The option is not accessible unless you remove the checkbox that allows all computers to relay after authentication. Once you click the button, you get a Relay restrictions dialog box (see fig 4 in the screenshots section). Here, you can choose the user groups and levels that are able to relay or use the SMTP Virtual Server that we are configuring. You may want to define user groups and levels to reduce the risk of spamming.
However, the trick is to remove all the user groups and levels that are present and not to add any level or group if you want greater security for your network. Before you remove all the pre-existing user groups and levels from the upper box, select both the "submit" and "relay" options check box under permissions. This keeps the relays active on the network without allowing any user to actually use it. Furthermore, only the Exchange Servers that are related and set up on your LAN can communicate among themselves. This trick makes stops Exchange Servers relaying spam without having to turn off SMTP relays that may create obstacles in delivering mail properly.