Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 3
    Good answer. Had you added links with information on how to configure OpenSMTPD, Postfix or Exim4 to forward mail to your normal email address it would have been even better.
    – imolit
    Commented Jun 4, 2015 at 15:32
  • 1
    Here's a related question that shows how to setup mutt: askubuntu.com/a/499335/75735
    – KalenGi
    Commented Nov 8, 2016 at 10:31
  • 1
    Great answer. But how do I use mail to read email? The manpage doesn't say.
    – jpaugh
    Commented Sep 19, 2017 at 21:39
  • 2
    I viewed my mail with cat /var/mail/$USER command and removed it with rm -rf /var/mail/$USER command. Commented Nov 26, 2017 at 9:04
  • 1
    @Andyc: Make the cronjobs not produce output. Use the appropriate "--quiet" or "silent" option of the program being run, or fix the job to not produce error messages by adding error checks where appropriate, or redirect the whole job's output to /dev/null like in shell (cronjobs use shell syntax). Commented Apr 5, 2023 at 15:30