Aracılığıyla paylaş


Disable Mail for a Mail-Enabled User

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can disable mail for a mail-enabled user. This task removes all the Exchange attributes from the user object in Active Directory. However, it doesn't remove the user from Active Directory.

Looking for other management tasks related to managing mail contacts and mail users? Check out Managing Mail Contacts and Mail Users.

Use the EMC to disable mail for a mail-enabled user

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mail users" entry in the Mailbox Permissions topic.

  1. In the console tree, expand Recipient Configuration, and then click Mail Contact.

  2. In the result pane, select the mail user for which you want to disable mail.

  3. In the action pane, under the name of the mail user, click Disable.

  4. A warning appears verifying that you want to disable mail for the user. Click Yes.

Use the Shell to disable mail for a mail-enabled user

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mail users" entry in the Mailbox Permissions topic.

This example disables mail for the mail-enabled user John.

Disable-MailUser john@contoso.com

When prompted, type Y to confirm the disabling of the mail user.

For detailed syntax and parameter information, see Disable-MailUser.

 © 2010 Microsoft Corporation. All rights reserved.