----- Original Message Follows -----
> I have ClamAV installed OK but following the manuals example of:
> clamdscan -r -l scan.txt testdir
> 
> Give me "Access denied. ERROR"
I have isolated the problem to the clamd deamon but can't get around it.
scanclam works without problems but the scandclam gives the errors.

I'm using UNIX socket to attach, the file is created in /tmp/clamd correctly the
owner is clamav and group is clamav.

What now?

My clamav.conf file (with comments removed):
LogFile /var/log/clamd.log
#LogFileUnlock
LogFileMaxSize 25M
#LogTime
#LogClean
LogSyslog
LogFacility LOG_MAIL
#LogVerbose
#PidFile /var/run/clamd.pid
TemporaryDirectory /var/tmp
#DatabaseDirectory /var/lib/clamav
LocalSocket /tmp/clamd
FixStaleSocket
#TCPSocket 3310
#TCPAddr 127.0.0.1
MaxConnectionQueueLength 30
StreamSaveToDisk
StreamMaxLength 10M
MaxThreads 10
ReadTimeout 300
MaxDirectoryRecursion 15
FollowDirectorySymlinks
FollowFileSymlinks
SelfCheck 1800
#VirusEvent /usr/local/bin/send_sms 123456789 "VIRUS ALERT: %v"
User clamav
#AllowSupplementaryGroups
#Foreground
#Debug
#LeaveTemporaryFiles
ScanOLE2
ScanMail
ScanArchive
ScanRAR
ArchiveMaxFileSize 10M
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxCompressionRatio 200
ArchiveLimitMemoryUsage
#ArchiveBlockEncrypted


====================
Kevin W. Gagel
Network Administrator
(250) 561-5848 local 448
(250) 562-2131 local 448

--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to