Initial commit.
This commit is contained in:
commit
3d665e5e11
72 changed files with 3200 additions and 0 deletions
24
base-files/mail.conf
Normal file
24
base-files/mail.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
# This file is sourced by various scripts that need to send emails.
|
||||
|
||||
case "${HOSTNAME#*.}" in
|
||||
slackware.uk)
|
||||
EMAIL_DOMAIN="slackware.uk"
|
||||
;;
|
||||
*)
|
||||
EMAIL_DOMAIN="opensourcerers.uk"
|
||||
;;
|
||||
esac
|
||||
|
||||
EMAIL_FROM="${HOSTNAME%%.*} <noreply@$EMAIL_DOMAIN>"
|
||||
|
||||
case "$1" in
|
||||
sbosrcarch)
|
||||
EMAIL_TO=("Systems Administrator <sysadmin@$EMAIL_DOMAIN>")
|
||||
MAILX_ARGS=("-c" "Urchlay <yalhcru@gmail.com>")
|
||||
;;
|
||||
*)
|
||||
EMAIL_TO=("Systems Administrator <sysadmin@$EMAIL_DOMAIN>")
|
||||
;;
|
||||
esac
|
||||
|
||||
true
|
Loading…
Add table
Add a link
Reference in a new issue