Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/924635

From BetaArchive Wiki

Article ID: 924635

Article Last Modified on 10/25/2007


  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Enterprise Server
  • Microsoft Exchange 2000 Server Standard Edition


Business logic may require that you selectively control who can send or receive Internet e-mail in a Microsoft Exchange Server 2003 organization or in a Microsoft Exchange 2000 Server organization. This article describes how to selectively prevent users from sending or receiving Internet e-mail in Exchange 2003 or in Exchange 2000.


Typically, all users who have mailboxes in an Exchange 2003 organization or in an Exchange 2000 organization can send and receive e-mail internally and externally. However, in several circumstances, business logic may require that certain users be restricted from sending or receiving e-mail outside the organization.


The solution that this article describes does not apply to a single Exchange server deployment, but only to a scenario in which the following conditions are true:

  • There are no user mailboxes on the SMTP gateway server
  • The Sender Filter is enabled on all SMTP gateway servers.

For more information about delivery restrictions in a single-server deployment, click the following article number to view the article in the Microsoft Knowledge Base:

277872 Connector delivery restrictions may not work correctly

How to restrict users

To prevent selected users from sending or receiving Internet e-mail, follow these steps:

  1. Identify the respective mailboxes.
  2. Use a recipient policy to stamp the mailboxes by using an invalid SMTP address.
  3. Configure a Sender Filter in the Global Settings for Exchange.

Recipient policies cannot be applied to organizational units. Therefore, you must identify the individual mailboxes. To do this, you must add a keyword in the properties of the user object in the Active Directory directory service.

In the solution that this article describes, the Description field is used to include this keyword. The recipient policy will use a primary SMTP address that represents an invalid, nonexistent SMTP domain. This primary SMTP address is used to stamp the user objects that contain the chosen keyword in the Description field. All other SMTP addresses are removed in the properties of these users. Because these users are now configured to receive e-mail only from this invalid SMTP address, they cannot receive any Internet e-mail.

This invalid SMTP address is also used to prevent users from sending Internet e-mail by using the Sender Filter feature in Exchange.

To prevent users from receiving Internet e-mail

To prevent users from receiving Internet e-mail, follow these steps.

Step 1: Add a keyword in the Description field of the user object
  1. Start the Active Directory Users and Computers snap-in, and then connect to the appropriate domain controller.
  2. Expand Your_Domain.Root_Domain.
  3. Click the container that contains the user accounts that you want to restrict.
  4. In the right-pane, press CTRL, and then click all the users whom you want to restrict.
  5. Right-click one of the selected users, and then click Properties.
  6. On the General tab, click to select the Description check box. The box to the right becomes active.
  7. In the active box, type an appropriate descriptive term. For example, type Restricted.
  8. Click OK.
Step 2: Add a new recipient policy
  1. Start Exchange System Manager, and then connect to the appropriate Exchange server.
  2. Expand Recipients, right-click Recipient Policies, point to New, and then click Recipient Policy.
  3. Click to select the E-mail addresses check box, and then click OK.
  4. In the Name box, type an appropriate name for the policy.
  5. Click Modify, and then click the Advanced tab.
  6. Click Field, point to User, and then click Description.
  7. In the Condition box, click Is (exactly).
  8. In the Value box, type the text that you added in the Description field in step 1g. For example, type Restricted.
  9. Click Add, and then click Find Now. After the search is completed, click OK.
  10. Click OK to accept the warning message.
  11. Click the E-mail addresses (Policy) tab.
  12. Click New, click SMTP Address, and then click OK.
  13. In the Address box, type the at symbol ( @) followed by an SMTP address that is not valid in the Domain Name System (DNS). For example, type @no.smtp.mail in the Address box.
  14. Click to select the smtp check box in the new entry that you just added, and then click Set as Primary.
  15. Click to clear all other smtp check boxes.

    Note Do not click to clear the smtp check box for the newly added entry.
  16. Click Yes in the warning message box.
  17. Start the Active Directory Users and Computers snap-in.
  18. In the properties of one of the selected users, verify that the E-mail box contains the newly added SMTP address. For example, the E-mail box should contain the following address:


  19. Click the E-mail addresses tab.
  20. Remove all valid SMTP addresses from the E-mail addresses list, and then click OK.
  21. Repeat steps 2r through 2t for other users as appropriate for your situation.

To prevent users from sending Internet e-mail

  1. Start Exchange System Manager.
  2. Expand Global Settings, right-click Message Delivery, and then click Properties.
  3. Click the Sender Filtering tab, and then click Add.
  4. In the Sender box, type the at symbol ( @) followed by the invalid SMTP address that you added in the new recipient policy. For example, type @no.smtp.mail.
  5. Click OK two times.
  6. In Exchange System Manager, expand Administrative Groups, expand Your_Administrative_Group, and then expand Servers.
  7. Expand the Server_Name object that represents the SMTP gateway server to the Internet.
  8. Expand Protocols, expand SMTP, right-click the Default SMTP Virtual Server, and then click Properties.
  9. On the General tab, click Advanced.
  10. In the Address list, click the required IP address entry, and then click Edit.
  11. Click to select the Apply Sender Filter check box, and then click OK three times.
  12. Repeat steps 7 through 11 on all other SMTP gateway servers as appropriate for your situation.
  13. Exit Exchange System Manager.

Additional query words: XADM

Keywords: kbhowto kbinfo KB924635