Email

ID #244

How do I delete hundreds or thousands of emails easily?

Applies to: Grid System

If you have too many messages in your mailbox to delete easily using Outlook, webmail, or other mail client, then you can delete them by doing the following:

1. Get a shell prompt to your account using your hosting account username.

2. Use the "Pine" mail program by typing:

pine

and then pressing the Enter key on your keyboard.

Note: if your account was created after May 2009 or you've requested to be switched over to our newer Debian environment, then you'll need to run the program called Alpine, which can be accessed by getting a prompt on the server and then typing:

alpine

and then pressing the Enter key on your keyboard.

3. If you see a "Welcome to Pine" screen, type the letter:

e

to exit the greeting. Do not hit the Enter key.

4. Now you will see a Main Menu and after about 30 seconds, a prompt will appear at the bottom of the screen asking for a mailbox username. Enter the mailbox username (not the email address) of the mailbox that you need to delete messages from, then hit the Enter key. All mailbox usernames are lowercase.

5. Now you will see a password prompt. Type the mailbox password and hit the Enter key. Passwords are case sensitive and upper or lowercase characters must be typed exactly.

6. Now type the letter:

i

to access your Inbox. Do not hit the Enter key.

7. To delete messages, type the letter:

d

Do not hit the enter key. That will mark that message for deletion and move your cursor to the next message. You can also hold the "d" key down to move very quickly through the inbox marking all messages for deletion.

8. To Un-Delete a message marked for deletion, type the letter:

u

while your cursor is on that message. Do not hit the enter key.

9. To move up or down in the mailbox, use the up and down arrows on your keyboard to move the cursor.

10. When you have marked everything you want to be deleted, type the letter:

q

to quit. Do not hit the enter key. It will ask you if you really want to quit. Type the letter:

y

Do not hit the enter key. It will then ask you whether to really delete all those messages. Again, Type the letter:

y

Do not hit the enter key.

11. You have now deleted the messages and exited the "Pine" mail reader. You can now type "quit" to exit the shell.

Support requests to delete messages in a mailbox will be handled by deleting and then recreating the entire mailbox, which will mean a permanent loss of all messages in the mailbox. If there are any messages in the mailbox that you want to keep, use the above method to preserve them while deleting the others. Mail and mailboxes deleted at customer request cannot be restored.


Last update: 2010-10-03 16:50
Author: FAQ Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 2.33 (3 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of Anonymous:
To see IMAP folders in Pine, edit your .pinerc file in your home directory before invoking pine:

pico .pinerc

Find the lines for inbox-path and incoming-folders and edit them so they indicate your imap mail store and the correct folders that you already set up:

inbox-path={mail.modwest.com}inbox

and these with each on one line with no linebreaks

incoming-folders="folder1" {mail.modwest.com}users/yourmailbox_name/foldername,

incoming-folders="folder2" {mail.modwest.com}users/yourmailbox_name/folder2name

When you are finished editting, CNTRL+X will exit pine and ask you to save changes.
Added at: 2003-10-15 13:37

Comment of Anonymous:
If you want to get at folders you have created inside Modwest webmail via Pine, another quick way to do it is as follows:

At the shell prompt, type 'pine'

Then, M -> L -> A

(This gets you into the 'add a new folder collection' screen)

Then, on the Server line, put:

mail.modwest.com/user=USER/ssl/novalidate-cert

(Replace USER with your username)

Save (ctrl-x) and go back out (e) to the M (main) menu, then hit 'L' to see your folder collection list. All your IMAP folders should appear inside the collection you just created.

Added at: 2003-10-16 14:18

Comment of Anonymous:
As an alternative to holding down "D" through potentially thousands of emails, you can enable "select all" functionality using the following key sequence after you have successfully logged in to your mailbox:

S (enters setup)
C (enters configuration)

Scroll down to "enable-aggregate-command-set" under "Advanced Command Preferences"

X (sets "enable-aggregate-command-set")
E (exits setup)
Y (commits changes)

Now that "select all functionality is enabled, use the following commands to delete all messages in the current folder:

i (enters inbox)
; (select)
a (all)
a (apply)
d (delete)
x (expung)
q (exit)
y (confirm)
Added at: 2006-11-17 10:50

Comment of Anonymous:
Here are instructions from the people who make pine, on how to delete messages using the select all feature.

http://www.washington.edu/pine/faq/news.html#8.3
Added at: 2007-01-30 14:54

Comment of Anonymous:
If you can only see your inbox and none of the other folders in your account (such as drafts, spam, etc.) you will need to add a 'folder collection' in PINE.

To do this, login to PINE as specified in the main body of the FAQ until you reach the Main Menu.

From the Main Menu go to (S) Setup >> scroll down and choose (L) collectionLists >> then choose (A) Add Cltn

This will take you to a screen that asks for a 'Nickname' and 'Server,' among other things.

Nickname this collection something, like 'Other Folders,' so that you will recognize it.

Then, on the Server line, put:

mail.modwest.com/user=USER/ssl/novalidate-cert

(Replace USER with your username)

Save (ctrl-x) and go back out (e) to the M (main) menu, then hit 'L' to
see your folder collection list. All your IMAP folders should appear
inside the collection you just created.

Added at: 2008-08-19 14:13