How to delete mails inside mail list of cpanel
To delete emails inside a mail list in cPanel, you can follow these steps:
Method 1: Using the Mail Client
- Log in to your cPanel account.
- Click on the "Email" section and select "Mail Client" from the drop-down menu.
- Select the mail list you want to delete emails from.
- Click on the "Delete" button next to the email you want to delete.
- Confirm that you want to delete the email by clicking "OK".
Method 2: Using the Email Accounts section
- Log in to your cPanel account.
- Click on the "Email" section and select "Email Accounts" from the drop-down menu.
- Click on the "Manage" button next to the email account that contains the mail list.
- Click on the "Mailboxes" tab.
- Select the mail list you want to delete emails from.
- Click on the "Delete" button next to the email you want to delete.
- Confirm that you want to delete the email by clicking "OK".
Method 3: Using the Command Line
- Log in to your cPanel account using SSH.
- Use the following command to delete an email from a mail list:
mailq -d <email_address>
- Replace
<email_address>
with the email address you want to delete.
- Replace
- Press Enter to execute the command.
- Confirm that you want to delete the email by typing
y
and pressing Enter.
Note: The mailq
command is used to manage the mail queue, and the -d
option is used to delete an email from the queue.