mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-23 07:27:05 +00:00
merge from 1804 version
This commit is contained in:
parent
e946276f15
commit
1292dce11e
@ -76,6 +76,10 @@ action = iptables-allports[name=recidive]
|
||||
|
||||
[postfix-sasl]
|
||||
enabled = true
|
||||
findtime = 7d
|
||||
|
||||
[postfix]
|
||||
enabled = true
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
|
@ -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.
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user