Solved

To man messages to read or delete with ELM o Mail

Posted on 2007-04-03
2
355 Views
Last Modified: 2013-12-06
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
Comment
Question by:qvfps
2 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 18848109
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
 

Author Comment

by:qvfps
ID: 18848133
Thanks for the quick response.  
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question