Initial commit.
This commit is contained in:
parent
6720861726
commit
e34a2333a7
32 changed files with 309 additions and 3 deletions
21
etc/mail.conf
Normal file
21
etc/mail.conf
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue