Partager via


Delete a mailbox

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To delete a mailbox

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open POP3 service.

  2. In the console tree, click the domain containing the mailbox you want to delete.

    Where?

    • POP3 Service/computer_name/domain_name
  3. In the details pane, right-click the mailbox you want to delete, and then click Delete.

  4. If the mailbox has an associated Active Directory or local Windows accounts user, a dialog box appears. To delete the user account from the Active Directory or local computer Security Accounts Manager (SAM), select Also delete the user account associated with this mailbox.

Caution

  • Deleting a mailbox deletes the mail store directory for the mailbox and all e-mail that is stored in that directory.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open the POP3 service snap-in, click Start, click Control Panel, double-click Administrative Tools, and then double-click POP3 Service.

  • If you are using Active Directory integrated authentication, you must log on to the Active Directory domain, not the local computer, to perform this procedure.

Using a command line

  1. Open Command Prompt.

  2. Type:

    winpop delete username@domain_name /deleteuser

Value Description

winpop delete

Deletes a mailbox from a domain.

If there is a corresponding user in the Active Directory or local computer Security Accounts Manager (SAM), a prompt appears, confirming the deletion of the user entry in addition to the mailbox.

username@domain_name

Specifies the mailbox name at the corresponding domain, for example, someone@example.com.

/deleteuser

Deletes the corresponding user from the Active Directory or SAM.

Caution

  • Deleting a mailbox deletes the mail store directory for the mailbox and all e-mail that is stored in that directory.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • If you are using Active Directory integrated authentication, you must log on to the Active Directory domain, not the local computer, to perform this procedure.

  • To view the complete syntax for this command, at a command prompt, type:

    winpop help

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

POP3 service administration tools
Manage Mailboxes