add root alias to /etc/aliases
This commit is contained in:
parent
60dc773951
commit
882df54bd8
|
@ -192,5 +192,10 @@ if [[ -d /etc/fail2ban/ ]]; then
|
|||
else
|
||||
echo
|
||||
echo "fail2ban not installed, skipping fail2ban email configs."
|
||||
|
||||
fi
|
||||
|
||||
echo "root: webmaster@$maildomain" >> /etc/aliases
|
||||
echo
|
||||
echo "Email for root user notifications are configured to go to webmaster@$maildomain."
|
||||
echo "Update /etc/aliases to suit your needs."
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user