diff -Nur clamav-0.102.2.old/etc/freshclam.conf.sample clamav-0.102.2/etc/freshclam.conf.sample --- clamav-0.102.2.old/etc/freshclam.conf.sample 2020-02-04 18:59:26.000000000 +0400 +++ clamav-0.102.2/etc/freshclam.conf.sample 2020-02-11 15:10:05.871022666 +0400 @@ -1,20 +1,15 @@ ## -## Example config file for freshclam ## Please read the freshclam.conf(5) manual before editing this file. ## - -# Comment or remove the line below. -Example - # Path to the database directory. # WARNING: It must match clamd.conf's directive! # Default: hardcoded (depends on installation options) -#DatabaseDirectory /var/lib/clamav +DatabaseDirectory /var/lib/clamav # Path to the log file (make sure it has proper permissions) # Default: disabled -#UpdateLogFile /var/log/freshclam.log +UpdateLogFile /var/log/clamav/freshclam.log # Maximum size of the log file. # Value of 0 disables the limit. @@ -23,24 +18,24 @@ # in bytes just don't use modifiers. If LogFileMaxSize is enabled, # log rotation (the LogRotate option) will always be enabled. # Default: 1M -#LogFileMaxSize 2M +LogFileMaxSize 0 # Log time with each message. # Default: no -#LogTime yes +LogTime yes # Enable verbose logging. # Default: no -#LogVerbose yes +LogVerbose yes # Use system logger (can work together with UpdateLogFile). # Default: no -#LogSyslog yes +LogSyslog yes # Specify the type of syslog messages - please refer to 'man syslog' # for facility names. # Default: LOG_LOCAL6 -#LogFacility LOG_MAIL +LogFacility LOG_MAIL # Enable log rotation. Always enabled when LogFileMaxSize is enabled. # Default: no @@ -48,12 +43,12 @@ # This option allows you to save the process identifier of the daemon # Default: disabled -#PidFile /var/run/freshclam.pid +PidFile /var/run/clamav/freshclam.pid # By default when started freshclam drops privileges and switches to the # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) -#DatabaseOwner clamav +DatabaseOwner mail # Use DNS to verify virus database version. Freshclam uses DNS TXT records # to verify database and software versions. With this directive you can change @@ -124,8 +119,8 @@ # socks5:// SOCKS5 Proxy. # socks5h:// SOCKS5 Proxy. Proxy resolves URL hostname. # Default: disabled -#HTTPProxyServer https://proxy.example.com -#HTTPProxyPort 1234 +#HTTPProxyServer http://proxy +#HTTPProxyPort 3128 #HTTPProxyUsername myusername #HTTPProxyPassword mypass @@ -142,7 +137,7 @@ # Send the RELOAD command to clamd. # Default: no -#NotifyClamd /path/to/clamd.conf +NotifyClamd /etc/clamav/clamd.conf # Run command after successful database update. # Default: disabled