[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 367
  • 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
0
qvfps
Asked:
qvfps
1 Solution
 
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
 
qvfpsAuthor Commented:
Thanks for the quick response.  
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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