Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: cPanel : Delete all Emails via SSH  (Read 3590 times)

0 Members and 1 Guest are viewing this topic.

Jithin

  • Guest
cPanel : Delete all Emails via SSH
« on: November 29, 2013, 05:52:51 pm »
Hi Guys,

Suppose you want to delete all emails of a particular account. Deleting it from webmail is a time consuming task.
There is an easy way.

Login to server via SSH.
Execute the command given below.

echo -n > /home/youraccount/mail/inbox

That will do the trick.

Thank you for stopping by!