From 0319c82fa4b93a9558f28b750ab948e76fd9251d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 27 Jul 2026 09:39:44 +0300 Subject: Fix pylogsentinel-batch-email.sh max email size --- roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 index d28efd9..eebf1e7 100644 --- a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 +++ b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 @@ -8,7 +8,7 @@ if [ ! -f "$FILE" ]; then fi echo "Sending email" -cat "$FILE" | mail -s "pylogsentinel alert batch" root +cat "$FILE" | head -n 5000 | mail -s "pylogsentinel alert batch" root echo "Removing batch file" rm "$FILE" -- cgit v1.3