Browse Source

feat(check_deps.sh): Add “nullmailer” als allowed MTA for email notifications

pull/4871/head
Fabian Raab 4 months ago
parent
commit
5f72ff8957
No known key found for this signature in database GPG Key ID: DBB7EF1D42EB77AB
  1. 3
      lgsm/modules/check_deps.sh

3
lgsm/modules/check_deps.sh

@ -113,6 +113,9 @@ fn_deps_email() {
array_deps_required+=(exim4)
elif [ -d /etc/sendmail ]; then
array_deps_required+=(sendmail)
elif [ "$(command -v apt 2> /dev/null)" ] && [ -d /etc/nullmailer ]; then
# 'mailutils' provides the 'mail' binary, 'nullmailer' is the MTA
array_deps_required+=(mailutils nullmailer)
elif [ "$(command -v yum 2> /dev/null)" ] || [ "$(command -v dnf 2> /dev/null)" ]; then
array_deps_required+=(s-nail postfix)
elif [ "$(command -v apt 2> /dev/null)" ]; then

Loading…
Cancel
Save