merge from 1804 version

This commit is contained in:
github@kiekerjan.isdronken.nl 2021-04-21 22:42:10 +02:00
parent e946276f15
commit 1292dce11e
3 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,10 @@ action = iptables-allports[name=recidive]
[postfix-sasl]
enabled = true
findtime = 7d
[postfix]
enabled = true
[sshd]
enabled = true

View File

@ -13,6 +13,8 @@ export LC_TYPE=en_US.UTF-8
# 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"
pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary"
fi
# Take a backup.

View File

@ -1,6 +1,9 @@
source /etc/mailinabox.conf
source setup/functions.sh
# Add additional packages
apt_install pflogsumm
# Cleanup old spam and trash email
hide_output install -m 755 conf/cron/miab_clean_mail /etc/cron.weekly/