1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-06-15 03:30:36 +02:00

Merge pull request #1367 from mindrunner/fix/logwatch

fix clamav issue in logwatch
This commit is contained in:
Erik Wramner
2020-01-14 21:33:56 +01:00
committed by GitHub

View File

@ -1477,6 +1477,7 @@ function _setup_mail_summary() {
function _setup_logwatch() { function _setup_logwatch() {
notify 'inf' "Enable logwatch reports with recipient $LOGWATCH_RECIPIENT" notify 'inf' "Enable logwatch reports with recipient $LOGWATCH_RECIPIENT"
echo "LogFile = /var/log/mail/freshclam.log" >> /etc/logwatch/conf/logfiles/clam-update.conf
case "$LOGWATCH_INTERVAL" in case "$LOGWATCH_INTERVAL" in
"daily" ) "daily" )
notify 'inf' "Creating daily cron job for logwatch reports" notify 'inf' "Creating daily cron job for logwatch reports"