mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix clamav issue in logwatch
This commit is contained in:
parent
a559631641
commit
35df764107
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue