Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by RogerK (not registered) on Fri, 2009-01-09 05:19.

A Linux server sends email to "root" by default. Rather than hardcoding an email address into every config file, it's cleaner to simply place a file named "forward" (that's dot-forward) in the root directory of the root account. The contents of that file should be a single line which is the admin's real, outside email address.

Now, whenever any process sends a message to "root", it will be automatically forwarded to the address specified in the ".forward" file.

The file should be a plain text file, with permissions 0644.

Lastly... put "root" back into the "mdadm.conf"  file if it's been changed.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.