From 882df54bd85ad0bf73af152a699185adadbe9d7e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 16 Nov 2022 18:02:20 -0800 Subject: [PATCH] add root alias to /etc/aliases --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c4e6a74..2194879 100755 --- a/install.sh +++ b/install.sh @@ -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." +