[[linux_wiki:aliases]]

Aliases

General Information

Get messages mailed locally to root, sent to your email.

Checklist

  • Distro(s): Any

Pre-Req

Configure your system's local email client to send correctly.

This is done using either postfix or sendmail.


Configure Aliases

Edit /etc/aliases

vim /etc/aliases
 
# Person who should get root's mail
root: myemail@provider.com

Run the newaliases command to update aliases

newaliases

  • linux_wiki/aliases.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)