From bd61d7702190c8ba83c310f3a4d908006b389b7e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Mon, 29 Jul 2024 14:22:44 -0700 Subject: [PATCH] make sure exim logs are (re)created, they are needed by fail2ban --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index f971401..3ff58ae 100755 --- a/install.sh +++ b/install.sh @@ -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/