To configure Exchange Server to restrict specific users from receiving SMTP mail that uses an encapsulated address, perform the following steps. Microsoft recommends that you back up your Exchange Server directory database before you perform the following steps.
WARNING: If you use the raw mode of the Exchange Server Administrator program (
admin /r) incorrectly, serious problems may occur that may require you to reinstall Microsoft Windows NT Server, Microsoft Exchange Server, or both. Microsoft cannot guarantee that problems that result from using raw mode incorrectly can be solved. Use raw mode at your own risk.
- Start the Microsoft Exchange Server Administrator program in raw mode by typing the following at a command prompt:
drive:\exchsrvr\bin\admin /r
Note In this step, drive is a placeholder for the drive where the Microsoft Exchange Server Administrator program is installed. - Open the mailbox properties for the user who you want to restrict from receiving inbound SMTP mail. In the mailbox properties, click the E-mail Addresses tab, and then in the E-mail addresses list, remove the SMTP address. Save the changes.
- In the Exchange Server Administrator program, create a distribution list (DL) and add all members of the global address list.
- To restrict users from sending an e-mail to the entire organization by using this DL, set restrictions on the DL; click the Delivery Restrictions tab, and in the Accept Messages From box, click List, and then add only the names of the Exchange Server administrators.
- Get the Distinguished Name of the DL. Click the DL in the global address list, and on the File menu, click Raw Properties. In the raw properties, locate the Obj-Dist-Name box and copy the value in that box to the clipboard.
- In the Exchange Server Administrator program, on the Tools menu, click Directory Export.
- Export the Exchange Server global address list (both custom recipients and mailboxes) to a .csv file.
- Use Microsoft Excel to open the .csv file that you created in the previous step, and then remove those users who ARE allowed to receive inbound SMTP mail. The list that remains is the users who you want to restrict from receiving inbound SMTP mail.
- Add a field named "Accept messages from DL" to the exported .csv file headers. In each row, paste the Distinguished Name of the distribution list that you copied from the raw properties in step 5, and than save the changes.
- Import the .csv file back to the Exchange Server directory; on the Tools menu, click Directory Import. Specify the .csv file that contains the restricted list as the file to import. If there are multiple sites, make sure the Windows NT account that you use has Exchange Server Administrator rights (and if necessary, Permissions Administrator rights) to each site, because the import process may update custom recipients and mailboxes in all of the sites.
If you use these steps, you essentially set delivery restrictions so that only the members of the distribution list that you create can send mail to the mailboxes. If a user in your organization is not a member of the distribution list, they cannot send mail to the restricted mailboxes.