Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
witam
Mam taki problem: Skonfigurowałem postfixa z clamavem, spamassassinem i amavisem i kiedy wysyłam poczte lub przychodzi poczta to postfix wysyła ją do skanowania (w main.cf dodałem):
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
ale nie może połaczyć się z clamavem. W logach mam:
Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!) /usr/bin/clamscan is taking longer than 315 s and will be killed Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!) killing process [3338] running /usr/bin/clamscan Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!) run_av: timed out Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!!) ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan timed out at (eval 44) line 462. Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!!) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 44) line 268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan timed out at (eval 44) line 462. Mar 21 13:42:26 poczta amavis[3301]: (03301-02) (!) PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20080321T133704-03301 Mar 21 13:42:26 poczta postfix/smtp[3286]: 20881571B1: to=<janek76@poczta.fm>, relay=127.0.0.1[127.0.0.1]:10024, delay=940, delays=202/416/0.01/322, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03301-02, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 44) line 268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan timed out at (eval 44) line 462. (in reply to end of DATA command))
Konfig od clamava w /etc/clamav/clamd.conf wygląda tak:
#Automatically Generated by clamav-base postinst #To reconfigure clamd run #dpkg-reconfigure clamav-base #Please read /usr/share/doc/clamav-base/README.Debian.gz for details #LocalSocket /var/run/clamav/clamd.ctl TCPSocket 3310 FixStaleSocket true User clamav AllowSupplementaryGroups true 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
Proszę o pomoc.
Offline
uzywasz etch ?
Jaka wersje masz clamav?
Offline
posiadam wersję clamd 0.90.1
w logach /var/log/clamav/freshclam.log mam:
Received signal: wake up ClamAV update process started at Fri Mar 21 16:27:44 2008 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.90.1 Recommended version: 0.92.1 DON'T PANIC! Read http://www.clamav.net/support/faq main.inc is up to date (version: 45, sigs: 169676, f-level: 21, builder: sven) Downloading daily-6316.cdiff [0%] daily.inc updated (version: 6316, sigs: 63425, f-level: 26, builder: arnaud) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 14, recommended = 26 DON'T PANIC! Read http://www.clamav.net/support/faq Database updated (233101 signatures) from db.local.clamav.net (IP: 62.236.254.228) Clamd successfully notified about the update. -------------------------------------- -------------------------------------- freshclam daemon 0.90.1 (OS: linux-gnu, ARCH: i386, CPU: i486) ERROR: Can't lock database directory: /var/lib/clamav/
w logach mail.info widać zaś ze odwołuje się przy wysyłaniu poczty do jakiegoś pliku /var/run/clamav/clamd.ctl ale ja takiego pliku w folderze /var/run/clamav nie mam
Offline
ten clamav z repo etch nie dzial, cos jest z nim nie tak, zainstaluj clamav z repo backports i bedzie dzialac jak nalezy
Offline
HunteR napisał(-a):
ten clamav z repo etch nie dzial, cos jest z nim nie tak, zainstaluj clamav z repo backports i bedzie dzialac jak nalezy
dobrym pomysłem będzie też dodanie repozytorium violatile (patrz lista repo)
Offline
ok, dzieki. Pomogło i działa teraz.
pozdrawiam, Marcin
Offline