Reading mail from /var/spool/mail/root

45,136

Solution 1

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.

Solution 2

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.

Solution 3

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:
45,136

Related videos on Youtube

GetFree
Author by

GetFree

Updated on September 17, 2022

Comments

  • GetFree
    GetFree almost 2 years

    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?