Initial commit.

This commit is contained in:
Darren 'Tadgy' Austin 2023-09-30 17:45:44 +01:00
commit e34a2333a7
32 changed files with 309 additions and 3 deletions

21
etc/mail.conf Normal file
View file

@ -0,0 +1,21 @@
# This file is sourced by various scripts that need to send emails.
case "$(hostname -d)" in
afterdark.lan)
EMAIL_DOMAIN="afterdark.org.uk"
;;
*)
EMAIL_DOMAIN="slackware.network"
;;
esac
EMAIL_FROM="${HOSTNAME%%.*} <noreply@$EMAIL_DOMAIN>"
EMAIL_TO=("Systems Administrator <sysadmin@$EMAIL_DOMAIN>")
case "$1" in
sbosrcarch)
MAILX_ARGS=("-c" "Urchlay <urchlay@slackware.uk>")
;;
esac
true