From 5f72ff8957e57632a768d8fca7d6f712c1385c07 Mon Sep 17 00:00:00 2001 From: Fabian Raab Date: Sat, 31 Jan 2026 15:43:31 +0100 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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 edcdb6c7b4..e5298e4b9a 100644 --- a/lgsm/modules/check_deps.sh +++ b/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