Jimmy's weblog

Since you are my readers, and I have not been much of a traveller, I will not talk about people a thousand miles off, but come as near home as I can. As the time is short, I will leave out all the flattery, and retain all the criticism. — Henry David Thoreau

Enabling root email - OSX server

Wednesday March 23, 2005 12:58

By default OSX server sends root’s mail straight to /dev/null - the electronic equivalent of a black hole - thus breaking the first commandment of system administration (Thou shall monitor thy logs and mail).

A far more sensible configuration is to forward mail for root@[your server] to an address you read regularly. This can be done in one of two ways while logged in as root:

  1. Edit the .forward file in root’s home directory and change /dev/null to your email address
  2. Remove the .forward file, add root: [your email address] to the bottom of your /etc/aliases file and run newaliases from the command line.

This entry was posted on Wednesday, March 23rd, 2005 at 12:40 and is filed under OS X. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>