Browse Source

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

Co-authored-by: Daniel Gibbs <[email protected]>
pull/4450/merge
Fabian Raab 1 day ago
committed by GitHub
parent
commit
71fe22c5d2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      lgsm/modules/check_deps.sh

3
lgsm/modules/check_deps.sh

@ -126,6 +126,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