From 21fd62ef4f70bdb7d9b1cd4f56fb75aac78974da Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Mon, 22 Nov 2021 07:05:10 +0100 Subject: [PATCH] more elaborate logfile analysis --- management/daily_tasks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/daily_tasks.sh b/management/daily_tasks.sh index 8a52f287..fefe6799 100755 --- a/management/daily_tasks.sh +++ b/management/daily_tasks.sh @@ -14,7 +14,7 @@ source /etc/mailinabox.conf # On Mondays, i.e. once a week, send the administrator a report of total emails # sent and received so the admin might notice server abuse. if [ `date "+%u"` -eq 1 ]; then - management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report" + management/mail_log.py -t week -r -s -l -g -b | management/email_administrator.py "Mail-in-a-Box Usage Report" /usr/sbin/pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary" fi