make sure exim logs are (re)created, they are needed by fail2ban
This commit is contained in:
parent
2727540a16
commit
bd61d77021
|
@ -126,6 +126,7 @@ systemctl start srsd
|
|||
# exim config
|
||||
fqdn=`hostname -f`
|
||||
maildomain=`hostname -d`
|
||||
sed -i 's/nocreate/create 640 Debian-exim adm/g' /etc/logrotate.d/exim4-base
|
||||
sed -i 's/size 10M/daily/g' /etc/logrotate.d/exim4-paniclog
|
||||
install --owner=Debian-exim --group=Debian-exim --mode=640 /dev/null /etc/exim4/relay_domains
|
||||
cp etc/exim4/* /etc/exim4/
|
||||
|
|
Loading…
Reference in New Issue
Block a user