All was fine for months and months, i rebooted and now clamd.ctl is not 
created anymore.... i still cannot belive why its so complicated to get 
something so simple to work....

its should be straightforward...

i installed clamav-daemon and clamav via apt-get on Debian Etch....

clamav.conf file is below

i run it as user clamav, directories are owned by amavis, amavis is in 
clamav's group clamav is in amavis's group, i even 777 the 
/var/run/clamav dir, not luck , even as the user clamav or amavis if i 
"su - " to them i can write and delete no problem. but god forbid the 
dam clamd.ctl file can be created! and then if it does will amavis be 
able to talk to it...

of course i restart after i make any change... currently i have amavis 
not to use clamav as it does not work i was getting the dreaded cannot 
connet to UNIX socket, bla bla

Anybody ?? i am pulling my hair out... AHAHAHAHH..
:)

Thanks to all

LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
User clamav
AllowSupplementaryGroups yes
ScanMail true
ScanArchive true
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ArchiveMaxCompressionRatio 250
ArchiveLimitMemoryUsage false
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
StreamMaxLength 10M
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
TemporaryDirectory /tmp
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
MailFollowURLs false
ArchiveBlockMax false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
NodalCoreAcceleration false
IdleTimeout 30
MailMaxRecursion 64
PhishingSignatures true
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0

-- 

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to