Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
    
Related: Script Help - Parse /var/spool/mail/user –  b.long May 16 '13 at 19:05
add comment

2 Answers

up vote 4 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
2  
mutt -f /var/spool/mail/root –  Warner Jul 2 '10 at 13:21
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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