• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

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
1 Solution
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
qvfpsAuthor Commented:
Thanks for the quick response.  
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now