[Pkg-clamav-devel] Bug#523119: clamav-milter: postfix breaks on upgrade

Björn Heide bjoern.heide at dh3sbx.de
Wed Apr 8 16:52:14 UTC 2009


Package: clamav-milter
Version: 0.95+dfsg-2+b1
Severity: important


clamav-milter no longer works with postfix:

postfix/smtpd[6854]: warning: connect to Milter service unix:/milters/clamav/clamav-milter.ctl: Permission denied

The problem is that the socket now has changed ownership and
permissions. With 0.95 we have:

srwxr-xr-x 1 clamav clamav 0  8. Apr 18:45 clamav-milter.ctl

while we have this with 0.94:

srwxrwxr-x 1 clamav postfix 0  8. Apr 18:49 clamav-milter.ctl


-- Package-specific info:
--- configuration ---
ClamAV engine version: 0.95
Checking configuration files in /etc/clamav

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogClean disabled
LogVerbose disabled
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/tmp"
DatabaseDirectory = "/var/lib/clamav"
LocalSocket = "/var/run/clamav/clamd.ctl"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength = "10485760"
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "500"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "15"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
ScanMail = "yes"
MailFollowURLs disabled
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled
*** ArchiveLimitMemoryUsage is DEPRECATED ***

Config file: freshclam.conf
---------------------------
LogFileMaxSize disabled
LogTime disabled
LogVerbose disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net", "database.clamav.net", "db.de.clamav.net"
MaxAttempts = "5"
ScriptedUpdates = "yes"
CompressLocalDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/etc/clamav/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
SafeBrowsing disabled

Config file: clamav-milter.conf
-------------------------------
LogFile disabled
LogFileUnlock disabled
LogFileMaxSize = "1048576"
LogTime disabled
LogVerbose disabled
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/clamav-milter.pid"
TemporaryDirectory = "/tmp"
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "180"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize = "26214400"
ClamdSocket = "unix:/var/run/clamav/clamd.ctl"
MilterSocket = "local:/var/spool/postfix/milters/clamav/clamav-milter.ctl"
LocalNet disabled
OnClean = "Accept"
OnInfected = "Quarantine"
OnFail = "Defer"
RejectMsg disabled
AddHeader disabled
Chroot disabled
Whitelist disabled
LogInfected = "Off"

--- data dir ---
insgesamt 45796
drwxr-xr-x 2 clamav clamav     4096  7. Apr 2008  clamav-d2bdddbeffc7fab0b4b9af9e5a30f272
drwxr-xr-x 2 clamav clamav     4096  7. Apr 2008  clamav-eb6de4cfc1a02692b7446a7b95476df8
-rw-r--r-- 1 clamav clamav  2430976  8. Apr 15:02 daily.cld
drwxr-xr-x 2 clamav clamav     4096 27. Mai 2008  daily.inc
-rw-r--r-- 1 clamav clamav 44391424 17. Feb 13:45 main.cld
-rw------- 1 clamav clamav     1456  8. Apr 18:36 mirrors.dat

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (150, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29+ds2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clamav-milter depends on:
ii  clamav-base            0.95+dfsg-2       anti-virus utility for Unix - base
ii  clamav-freshclam [clam 0.95+dfsg-2+b1    anti-virus utility for Unix - viru
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libclamav5             0.94.dfsg.2-1     anti-virus utility for Unix - libr
ii  libgmp3c2              2:4.2.4+dfsg-2    Multiprecision arithmetic library
ii  libmilter1.0.1         8.14.3-9          Sendmail Mail Filter API (Milter)
ii  libwrap0               7.6.q-16          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-22            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages clamav-milter recommends:
ii  clamav-daemon             0.95+dfsg-2+b1 anti-virus utility for Unix - scan

Versions of packages clamav-milter suggests:
ii  clamav-docs                  0.95+dfsg-2 anti-virus utility for Unix - docu
ii  daemon                       0.6.3-1     turns other processes into daemons

-- debconf information excluded





More information about the Pkg-clamav-devel mailing list