hidden:Redirect local root mail to an external email address on HPSS servers

From Lsdf
Revision as of 14:55, 12 January 2017 by Ahmad (talk | contribs) (Created page with "1. Check if "postfix" mail server is already installed. # service postfix status # yum install postfix (On HPSS Server it was already installed and running) 2. Edit /etc/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

1. Check if "postfix" mail server is already installed.

# service postfix status
# yum install postfix (On HPSS Server it was already installed and running)

2. Edit /etc/aliases

root: hpss-admin@lists.kit.edu

4. Run command on shell:

# newaliases

5. Restart mail server

# service postfix restart

6. Test

#echo "Hello from hpsscr01." | mail -s "hpsscr01 email-test-message" root