Your message dated Sun, 30 Nov 2008 09:17:10 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#506055: fixed in clamav 0.94.dfsg.2-1
has caused the Debian Bug report #506055,
regarding /usr/share/doc/clamav/examples/clampipe uses --unzip which causes 
mail problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
506055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506055
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: clamav
Version: 0.94.dfsg.1-1
Severity: important


So, using a script from the examples directory is probably buyer-beware but
I'll bet lots of people do it anyhow.  I use clampipe in the obvious
procmail rule:

:0fw
| perl /usr/share/doc/clamav/examples/clampipe

Unfortunately, it wants to call call clamscan with the --unzip option which
was apparently recently deprecated, leaving me with mailboxes which have
mails that look something like this:

X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 
        foo.bar.org
X-Spam-Level: *** 
X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_00, 
        CORRUPT_FROM_LINE_IN_HDRS,FUZZY_CPILL,MISSING_DATE,MISSING_HB_SEP, 
        
MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED, 
        NO_RELAYS,URIBL_GREY autolearn=no version=3.2.5 
WARNING: Ignoring deprecated option --unzip 
>From [EMAIL PROTECTED]  Sat Nov 15 02:10:32 2008 
Return-Path: <[EMAIL PROTECTED]> 

this messes up mail readers and IMAP daemons expecting mbox format which
should look like this:

>From [EMAIL PROTECTED]  Sat Nov 15 02:10:32 2008 
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 
        foo.bar.org
X-Spam-Level: *** 
X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_00, 
        CORRUPT_FROM_LINE_IN_HDRS,FUZZY_CPILL,MISSING_DATE,MISSING_HB_SEP, 
        
MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED, 
        NO_RELAYS,URIBL_GREY autolearn=no version=3.2.5 
Return-Path: <[EMAIL PROTECTED]> 

The visible symptom is that there doesn't seem to be any new mail...in
reality due to the corrupted mailbox, it just looks like the new mails are
being tacked onto the end of the last one.

Arguably this is a bug in procmail, but I don't know what the protocol is
supposed to be here.  Maybe this isn't a bug anywhere and is purely user
error, but I figured it was worth documenting in any case.

Trivial fix to clampipe attached (remove --unzip from clamscan line)

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

/etc/clamav/freshclam.conf: freshclam directives
------------------------------
LogFileMaxSize = 0
LogTime = no
LogVerbose = no
LogSyslog = no
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground = no
Debug = no
AllowSupplementaryGroups = no
DatabaseOwner = "clamav"
Checks = 24
UpdateLogFile = "/var/log/clamav/freshclam.log"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net"
DatabaseMirror = "database.clamav.net"
DatabaseMirror = "db.us.clamav.net"
MaxAttempts = 5
ScriptedUpdates = yes
CompressLocalDatabase = no
HTTPProxyServer = "localhost"
HTTPProxyPort = 3128
HTTPProxyUsername not set
HTTPProxyPassword not set
HTTPUserAgent not set
NotifyClamd not set
OnUpdateExecute not set
OnErrorExecute not set
OnOutdatedExecute not set
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30
SubmitDetectionStats not set
DetectionStatsCountry not set

Engine and signature databases
------------------------------
Engine version: 0.94.1
Database directory: /var/lib/clamav/
main db: Format: .cld, Version: 49, Build time: Wed Oct 22 18:03:26 2008
daily db: Format: .cld, Version: 8644, Build time: Mon Nov 17 16:35:21 2008

--- data dir ---
total 41472
-rw-r--r-- 1 clamav clamav   106913 2005-10-18 04:28 clamav-8c647fc0d00091f3
drwxr-xr-x 2 clamav clamav     4096 2008-09-04 22:43 
clamav-abf0d1b943879b7711480014d5d0b485
-rw-r--r-- 1 clamav clamav  1692672 2008-11-17 17:38 daily.cld
-rw-r--r-- 1 clamav clamav 40598016 2008-10-22 18:50 main.cld
-rw------- 1 clamav clamav     1404 2007-06-26 12:40 mirrors.dat

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

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav depends on:
ii  clamav-freshclam [clam 0.94.dfsg.1-1     anti-virus utility for Unix - viru
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libclamav5             0.94.dfsg.1-1     anti-virus utility for Unix - libr
ii  libgmp3c2              2:4.2.2+dfsg-3    Multiprecision arithmetic library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages clamav recommends:
ii  clamav-base                0.94.dfsg.1-1 anti-virus utility for Unix - base

Versions of packages clamav suggests:
ii  clamav-docs                0.94.dfsg.1-1 anti-virus utility for Unix - docu
ii  lha                        1.14i-10.3    lzh archiver
ii  unrar                      1:3.8.4-1     Unarchiver for .rar files (non-fre

-- no debconf information
--- clampipe~   2008-11-11 20:01:10.000000000 -0500
+++ clampipe    2008-11-17 19:17:41.000000000 -0500
@@ -9,7 +9,7 @@
 $/=undef;
 my $msg=<>;
 
-open (CLAM, "| clamscan --quiet --unzip -")
+open (CLAM, "| clamscan --quiet -")
        || die "cannot run clamscan: $!";
 # The --mbox support is flakey and requires a From header as in a real
 # mbox.

--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.94.dfsg.2-1

We believe that the bug you reported is fixed in the latest version of
clamav, which is due to be installed in the Debian FTP archive:

clamav-base_0.94.dfsg.2-1_all.deb
  to pool/main/c/clamav/clamav-base_0.94.dfsg.2-1_all.deb
clamav-daemon_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/clamav-daemon_0.94.dfsg.2-1_i386.deb
clamav-dbg_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/clamav-dbg_0.94.dfsg.2-1_i386.deb
clamav-docs_0.94.dfsg.2-1_all.deb
  to pool/main/c/clamav/clamav-docs_0.94.dfsg.2-1_all.deb
clamav-freshclam_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/clamav-freshclam_0.94.dfsg.2-1_i386.deb
clamav-milter_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/clamav-milter_0.94.dfsg.2-1_i386.deb
clamav-testfiles_0.94.dfsg.2-1_all.deb
  to pool/main/c/clamav/clamav-testfiles_0.94.dfsg.2-1_all.deb
clamav_0.94.dfsg.2-1.diff.gz
  to pool/main/c/clamav/clamav_0.94.dfsg.2-1.diff.gz
clamav_0.94.dfsg.2-1.dsc
  to pool/main/c/clamav/clamav_0.94.dfsg.2-1.dsc
clamav_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/clamav_0.94.dfsg.2-1_i386.deb
clamav_0.94.dfsg.2.orig.tar.gz
  to pool/main/c/clamav/clamav_0.94.dfsg.2.orig.tar.gz
libclamav-dev_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/libclamav-dev_0.94.dfsg.2-1_i386.deb
libclamav5_0.94.dfsg.2-1_i386.deb
  to pool/main/c/clamav/libclamav5_0.94.dfsg.2-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[EMAIL PROTECTED]> (supplier of updated clamav package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 29 Nov 2008 12:15:34 -0800
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav5 
clamav-daemon clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all i386
Version: 0.94.dfsg.2-1
Distribution: unstable
Urgency: low
Maintainer: ClamAV Team <[EMAIL PROTECTED]>
Changed-By: Michael Meskes <[EMAIL PROTECTED]>
Description: 
 clamav     - anti-virus utility for Unix - command-line interface
 clamav-base - anti-virus utility for Unix - base package
 clamav-daemon - anti-virus utility for Unix - scanner daemon
 clamav-dbg - debug symbols for ClamAV
 clamav-docs - anti-virus utility for Unix - documentation
 clamav-freshclam - anti-virus utility for Unix - virus database update utility
 clamav-milter - anti-virus utility for Unix - sendmail integration
 clamav-testfiles - anti-virus utility for Unix - test files
 libclamav-dev - anti-virus utility for Unix - development files
 libclamav5 - anti-virus utility for Unix - library
Closes: 253080 309067 506055
Changes: 
 clamav (0.94.dfsg.2-1) unstable; urgency=low
 .
   [ Stephen Gran ]
   * New upstream version
 .
   [ Michael Meskes ]
   * Removed unused debconf templates and unfuzzied all translations.
 .
   [ Michael Tautschnig ]
   * Removed --unzip from clampipe script (closes: #506055)
   * Moved clamav-milter specific stuff from its specific README.Debian to
     clamav-global one.
   * Sync start of clamav-milter with clamav-daemon when clamav-daemon is being
     upgraded (closes: #309067)
   * The TemporaryDirectory option has been added long ago, no need for hacks
     via clamav-daemon.default anymore (closes: #253080)
Checksums-Sha1: 
 b0ef8568fea715c83169fb73224ec69b32e6d0de 1387 clamav_0.94.dfsg.2-1.dsc
 73a8968a1925efea50260c75f1a1b7807af8ac9d 22073819 
clamav_0.94.dfsg.2.orig.tar.gz
 520b7b867a78e767625c2c5d825b496d2cffe507 158447 clamav_0.94.dfsg.2-1.diff.gz
 5dd9ddf2024b5ee3fb38b1ab5080c88c27cb2cad 19495020 
clamav-base_0.94.dfsg.2-1_all.deb
 b15a043a7dec6a64515049bd39ac8e9520b14489 207054 
clamav-testfiles_0.94.dfsg.2-1_all.deb
 628c3ebb1d59a8d0e4a4b1bf4f6208b1b62627ee 1077604 
clamav-docs_0.94.dfsg.2-1_all.deb
 30ed250e311d112a19897c831b86eeb405a75e86 520636 
libclamav5_0.94.dfsg.2-1_i386.deb
 e793cdac25ca33b3a11a24562b944f50facf1baf 231014 clamav_0.94.dfsg.2-1_i386.deb
 c24812d98f4546f0cc591492c126754183ba7c17 228584 
clamav-daemon_0.94.dfsg.2-1_i386.deb
 f053201d764c716f729a53cd31511f3c9289da02 250066 
clamav-freshclam_0.94.dfsg.2-1_i386.deb
 6cbfde8a4e3a47858a659386e7093eddf28d54b8 227950 
clamav-milter_0.94.dfsg.2-1_i386.deb
 3d1be0daf304e11d92ce13ab41d7ccd2fc48da56 536872 
libclamav-dev_0.94.dfsg.2-1_i386.deb
 0cb6d98e478e444579f717b66925c7af5a0589e6 805368 
clamav-dbg_0.94.dfsg.2-1_i386.deb
Checksums-Sha256: 
 559f9ec23631448dc32344136c25ed03a8d884caddbc16b772d2fad84449a6aa 1387 
clamav_0.94.dfsg.2-1.dsc
 421aedf91ade791a5609d1127399a153aa856712e33c2ae59f7b88e2605c05ed 22073819 
clamav_0.94.dfsg.2.orig.tar.gz
 d9323c64d8ed9704a4fe3028fc802b5ae6df400823b0da56590b04ba6ce87435 158447 
clamav_0.94.dfsg.2-1.diff.gz
 ddc40ade9ccfd11d9ca0ed1325d146c51eecac8f4f10913f89ea53e6486da541 19495020 
clamav-base_0.94.dfsg.2-1_all.deb
 a02c6207d537f87b56c21bdcc307b43a47c22d62b921315c89e48384adde9547 207054 
clamav-testfiles_0.94.dfsg.2-1_all.deb
 41c9e5bd1e97f853b0a5f6f94df08bac42f4e93cd8f1a669a67fff32b9730aed 1077604 
clamav-docs_0.94.dfsg.2-1_all.deb
 4c6b641853179f1873661188566350ca4604ad09f1082e47a0e7e6b126f3cbdc 520636 
libclamav5_0.94.dfsg.2-1_i386.deb
 bfa55d32b466df2c25818c38da3995004c4e15b35bd8b686e209e482d62db1bc 231014 
clamav_0.94.dfsg.2-1_i386.deb
 df119b2ccdc2af5cdab143c172c46df8103b1a7fe1dc1faac1167801f17990c2 228584 
clamav-daemon_0.94.dfsg.2-1_i386.deb
 4cb5ed1e53cb3902dd9715107b450bbfec69bd4efac734c5f944d42bb994b9b7 250066 
clamav-freshclam_0.94.dfsg.2-1_i386.deb
 93d85f52d9ff3f278eb3715d3be6714a4f2048c574170870ba7975f07e5c5768 227950 
clamav-milter_0.94.dfsg.2-1_i386.deb
 77d0ac24d9e7a0d5a2f710c6ef18c0e082a15c2612b7c2e82b40db24931c2247 536872 
libclamav-dev_0.94.dfsg.2-1_i386.deb
 9cc2eb04b24d6e3a95bbce8c8cc5246a625f1dc78565d55e0a028f925c9f2a42 805368 
clamav-dbg_0.94.dfsg.2-1_i386.deb
Files: 
 870628de6f11b792c0b93666e758c75b 1387 utils optional clamav_0.94.dfsg.2-1.dsc
 7b45b0c54b887b23cb49e4bff807cf58 22073819 utils optional 
clamav_0.94.dfsg.2.orig.tar.gz
 ba281fedf49b6e058aeffc8482dd5de6 158447 utils optional 
clamav_0.94.dfsg.2-1.diff.gz
 cc0358bac7f5c50ed298c69ad6c67e1e 19495020 utils optional 
clamav-base_0.94.dfsg.2-1_all.deb
 f16f53f45aed0bd9fcd3e7f718a650ae 207054 utils optional 
clamav-testfiles_0.94.dfsg.2-1_all.deb
 acc56810f4ae078088337ec1766e9c05 1077604 doc optional 
clamav-docs_0.94.dfsg.2-1_all.deb
 b817d4bc7bf99fe515bc96497b4f1cf5 520636 libs optional 
libclamav5_0.94.dfsg.2-1_i386.deb
 4c1cd9771c85e72405df8a34dadec2b3 231014 utils optional 
clamav_0.94.dfsg.2-1_i386.deb
 5264d12ea68e5bc6d2c1a8b495a9b33a 228584 utils optional 
clamav-daemon_0.94.dfsg.2-1_i386.deb
 a5f46120ec415f3b5192003d1c046785 250066 utils optional 
clamav-freshclam_0.94.dfsg.2-1_i386.deb
 fcb22f9ab3f7fccfce0a8a05bf5571c4 227950 utils extra 
clamav-milter_0.94.dfsg.2-1_i386.deb
 38d003f06ddc8bef234462d227afb9ca 536872 libdevel optional 
libclamav-dev_0.94.dfsg.2-1_i386.deb
 8f8b793300524e69a80eedef3524214f 805368 utils extra 
clamav-dbg_0.94.dfsg.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkyR1AACgkQvx6dH3bVKsS88wCfcmFjMlXH3/2b9FEZn+Gf9khZ
3KMAn1sZDCd/AYIQBcviV6wyiVBodL4U
=9JrQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to