To man messages to read or delete with ELM o Mail

I am supporting an old HP-UX server.  I need to see if some of the nightly jobs ran ok.  I usually receive the status of the jobs via email and use ELM to review them.  Things have been pretty smooth and I was lax in checking and clearing out the mail.  

Today when I needed to check the status of the nightly jobs I discovered that I have to many unred messages.  When I try and run ELM I get the following error message "Could not allocate 66804160 bytes for new headers!!!" and ELM exits.   I also tried mail and I get the message "Warning: Too many letters, overflowing letters".  

How can I delete these messages.  I would be happy to delete everything so i can start fresh

Thanks for any assistance
qvfpsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yuzhCommented:
If you don't want to delete all of them, try to use "mail" command to see if you can read them.

To delete all the email, type in:

cat /dev/null > /var/mail/your-login-name
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qvfpsAuthor Commented:
Thanks for the quick response.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.