Luca Gibelli wrote:
> Hello Carlos,
> 
> 
> please check if user 'clamav'[1] can write to /var/log/clamav/freshclam.log
> 
> 
> Best regards
> 
> [1]: or whatever you defined in freshclam.conf with the directive User

Thanks for the reply Luca!

According to /var/log/clamav/

mail:/var/log/clamav# ls -l
total 104
-rw-r----- 1 amavis adm  5051 2008-09-15 11:21 clamav.log
-rw-r----- 1 amavis adm 26171 2008-09-14 06:25 clamav.log.1
-rw-r----- 1 amavis adm 10910 2008-09-15 11:26 freshclam.log
-rw-r----- 1 amavis adm 52195 2008-09-14 06:25 freshclam.log.1

And in my freshclam.conf, amavis is defined:

DatabaseOwner amavis
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime no
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav/
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
ScriptedUpdates yes
CompressLocalDatabase no
NotifyClamd /etc/clamav/clamd.conf
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net

I am really not sure what I am missing here. I know this is something I 
overlooked, I just don't know where.

-- 
Carlos Williams <[EMAIL PROTECTED]>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to