[Pkg-clamav-devel] Bug#537854: clamav-milter: new version logs filedescriptor instead of queue id, no longer has sender/recip

Micah Anderson micah at debian.org
Tue Jul 21 11:08:54 UTC 2009


Package: clamav-milter
Version: 0.95.2+dfsg-4
Severity: normal

Previous to the clamav-milter rewrite, logs looked like this when viruses were found:

Jul 20 06:49:58 parrot clamav-milter[31180]: 8EC2A3418D5B: /var/tmp/clamav-d8ddeb26e834f8dd30b9b727229a3918/msg.FfJPsO: Sanesecurity.Spam.10668.UNOFFICIAL Intercepted virus from "Peggy Jarrett" <r4ery3odyrz5 at roxxx.com> to <blah at blah.org>

After the rewrite, the logs look like this:

Jul 21 04:02:27 parrot clamd[19657]: fd[10]: Sanesecurity.Spam.10690.UNOFFICIAL FOUND

Much less useful, I dont really care what filedescriptor was used, I'm much more interested in the queue id so I can track down issues. Also it would be nice to see the sender and recipient again.

danke,
micah

-- Package-specific info:
--- configuration ---
#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
FixStaleSocket true
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
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
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
MailFollowURLs false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
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

--- data dir ---
total 23944
-rw-r--r-- 1 clamav clamav  3224576 2009-07-21 06:39 daily.cld
-rw-r--r-- 1 clamav clamav 21253696 2009-07-21 05:38 main.cvd
-rw------- 1 clamav clamav      364 2009-07-21 06:39 mirrors.dat

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-milter depends on:
ii  adduser                3.110             add and remove users and groups
ii  clamav-base            0.95.2+dfsg-4     anti-virus utility for Unix - base
ii  clamav-freshclam [clam 0.95.2+dfsg-4     anti-virus utility for Unix - viru
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  libc6                  2.9-20            GNU C Library: Shared libraries
ii  libmilter1.0.1         8.14.3-9          Sendmail Mail Filter API (Milter)
ii  logrotate              3.7.7-3           Log rotation utility
ii  lsb-base               3.2-22            Linux Standard Base 3.2 init scrip
ii  ucf                    3.0018            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

Versions of packages clamav-milter recommends:
pn  clamav-daemon                 <none>     (no description available)

Versions of packages clamav-milter suggests:
pn  clamav-docs                   <none>     (no description available)
pn  daemon                        <none>     (no description available)

-- debconf information excluded





More information about the Pkg-clamav-devel mailing list