Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried using mail for reading the e-mail messages in /var/spool/mail/root, but it's really a pain.
I've read that pine is better, but it seems not to be available for my linux (CentOS 5.4 x86_64). At least nothing appears when I type yum list pine.

Do you know of any other command line utility to read mail from there?

share|improve this question

closed as off-topic by HopelessN00b, yagmoth555, mdpc, kubanczyk, Jenny D Mar 11 at 9:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Related: Script Help - Parse /var/spool/mail/user – blong May 16 '13 at 19:05
up vote 9 down vote accepted

Try mutt. Or elm. (Given that when you say command line utility you mean working in text mode.)

Edit: Even better, put an alias for root into /etc/mail/aliases to redirect root's mail to another account. Remember to run newaliases afterwards. This only works if you have a working MTA (Mail Transfer Agent) of course.

share|improve this answer
4  
mutt -f /var/spool/mail/root – Warner Jul 2 '10 at 13:21

You can use sup. It's a curses mail client inspired in mutt and gmail, written in ruby and actively developed.

If you install ruby and rubygems, just sudo gem install sup should be enough to install it.

share|improve this answer

Pine was replaced by Alpine some time ago.

Alpine is a fast, easy to use email client that is suitable for both the inexperienced email user as well as for the most demanding of power users. Alpine is based on the Pine® Message System, which was also developed at the University of Washington.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.