Wow Craig, that was fast, thanks.
Pine did the job. I just deleted my admin emails (almost 250,000, crazy).
I had to enable the aggregate commands though to get ; (select command). Here is how:
- on the Main Menu select S (Setup)
- then C for Config
- down arrow (or space bar but it's easy to miss) to scroll to Advanced Command Preferences
- highlight enable-aggregate-command-set and hit X to set/unset
- E to exit
Here is a little guide if other people need to do the same thing:
I will assume telnet is used but putty or doing this at the console will work as well.
Log on as root and then start pine by typing pine, when prompted just enter the credentials for admin.
Follow the instructions below, if you can't see ; look into settings by following the steps above to enable aggregate commands.
Commands are displayed at the bottom of the telnet window.
Press O to see Other Commands.
Press O again to see more commands.
Press ; (semi-colon) to Select emails in your Inbox.
Press A to Select All emails in your Inbox.
Press A again to Apply an operation to the selected email messages.
Press D to mark all email for deletion. All of your emails should now be flagged with an X and a D on your telnet screen.
When you are ready to permanently delete all messages you've marked for deletion (i.e. all the email in your Inbox), press X to Expunge them.
It make take a few minutes to expunge all your deleted emails, depending on how many you have to delete. The telnet window may be unresponsive while the server performs the operation.
After a few moments, you will see a message that indicates the number of emails deleted.
After deleting all emails from your Inbox, you may close the telnet window.
I hope this helps someone.
D.