3

I have a few cron jobs that mail their output to my username. I check this mail in the terminal by typing mail. When I quit the mail program with 'q' it says "Saved X messages in mbox" (where X is the number of messages I just read).

How can I read those messages again?

2

If you wanted a full featured editor / mail client from the command line:

brew install mutt

If you just want to see the mail you can use the from command to see headers or look at the files in /var/mail/${USER}. Depending on how you disposed of messages, they also might be in your ~/mbox file

Some good reading at:

  • 1
    ~/mbox is just what I was looking for. /var/mail/${USER} only shows my unread mail. – MattL Nov 7 '17 at 20:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .