Advanced Email Deletion
1. If you don't have an ssh client you can download the
Putty SSH client from...
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
User your domain as the hostname, port 22, SSH protocol
Click "Open" to connect Click "Yes" if prompted,
your login and password for ssh are the same as it is for cpanel
2. To remove all email in your default email's inbox type
following commands
cd mail
>inbox
To return to your root directory type
cd ~
To move up one directory type
cd ../
3. To remove all email in your default email's inbox type
following commands
cd ~
cd mail/yourdomain/email
>inbox
Note: replace yourdomain with your actual domain (leave off the www.)
Note: replace email with the actual email box you want to remove (ex.
webmaster or sales or info, etc)
Common commands:
>
pwd
cd
ls -alh
du -sh *
Hints:
The ">" can be used to zero any file
Ex.
>spam
>somefile
Note: > will only zero a file and not an entire directory/folder
The "pwd" command will display the current directory
The "cd" command will change directories
Ex.
cd mail
cd somefolder
The "ls -alh" command will show the size in
megabytes for all files in the current directory
The "du -sh *" command will show the size in
mega bytes of files and folders in the current directory
Ex. To look at the disk size for all email accounts other than the default
email type
cd mail/yourdomain
du -sh *
Note: replace yourdomain with your actual domain (leave off the www.)
Back to Front Page