From 71fe22c5d28b143866266838d4050a79e51e99ef Mon Sep 17 00:00:00 2001 From: Fabian Raab Date: Sun, 19 Jul 2026 15:30:07 +0200 Subject: [PATCH] =?UTF-8?q?feat(check=5Fdeps.sh):=20Add=20=E2=80=9Cnullmai?= =?UTF-8?q?ler=E2=80=9D=20als=20allowed=20MTA=20for=20email=20notification?= =?UTF-8?q?s=20(#4871)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel Gibbs --- lgsm/modules/check_deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lgsm/modules/check_deps.sh b/lgsm/modules/check_deps.sh index e4bcad4be..b03189897 100755 --- a/lgsm/modules/check_deps.sh +++ b/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