Source
Useful links
Doing the thing
logrotate
must be run with sudo (location: /usr/sbin/logrotate
)
relevant paths:
journalctl
show logs of a particular priority level (lower number = more critical)
mailutils
check log of errored mail
enable sending mail to outside world (using exim4
)
change hostname with hostnamectl
test sending mail
EOF