Update mail.conf and warn-git-status for different mailx.

This commit is contained in:
Darren 'Tadgy' Austin 2023-10-01 14:46:43 +01:00
commit 85d25d6759
2 changed files with 3 additions and 3 deletions

View file

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