Delete a mailbox for a mail account in Plesk using CLI

A CLI (Command Line Interface) is a user interface in which the computer’s operating system. It’s an application allows the user to respond to visual prompts by typing the commands and also to receive a reply in a similar way. The utility mail is used for managing the domain mail service and the email accounts through CLI. This utility is also helpful for enabling and disabling the mail service. It’s used┬áto create, delete and edit the email account settings. For example, to delete a mailbox for an account user@example.com, use the following command,

Command:

plesk bin mail --u user@example.com -mailbox false

Tagged in:

, ,