Your message dated Wed, 05 Apr 2006 14:02:57 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#356874: fixed in dspam 3.6.4-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dspam
Version: 3.6.4-2
Severity: normal
File: /etc/cron.daily/dspam

This morning's cron.daily run generated (among other things) the
following output:

/etc/cron.daily/dspam: line 8: [: StorageDriver: binary operator expected

Having taken a closer look, I have to conclude that the test in
question will *never* operate correctly without double quotes around
$DSPAMSTORAGE, which will otherwise expand either to nothing or to two
words, whereas your usage expects exactly one word.

Moreover, the script's logic is unduly complex.  For one thing, it
features a "useless use of cat" (UUOC): in general, you can simplify

    cat foo | grep bar

to

    grep bar foo

There's also no need to capture grep's output for later inspection
when you can simply throw it away and use its exit status:

if grep -q "^StorageDriver.*hash_drv.so" $DSPAMCONF; then
    # Found a match, proceed accordingly.
fi

BTW, why does the comment at the top of the script mention DB4 while
the code looks for the hash_drv backend, which appears to be
completely unrelated?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dspam depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libdspam7                     3.6.4-2    DSPAM is a scalable and statistica
ii  libldap2                      2.1.30-13  OpenLDAP libraries
ii  procmail                      3.22-15    Versatile e-mail processor

Versions of packages dspam recommends:
ii  clamav                        0.88-4     antivirus scanner for Unix
ii  dspam-doc                     3.6.4-2    Documentation for dspam

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: dspam
Source-Version: 3.6.4-3

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

dspam-doc_3.6.4-3_all.deb
  to pool/main/d/dspam/dspam-doc_3.6.4-3_all.deb
dspam-webfrontend_3.6.4-3_all.deb
  to pool/main/d/dspam/dspam-webfrontend_3.6.4-3_all.deb
dspam_3.6.4-3.diff.gz
  to pool/main/d/dspam/dspam_3.6.4-3.diff.gz
dspam_3.6.4-3.dsc
  to pool/main/d/dspam/dspam_3.6.4-3.dsc
dspam_3.6.4-3_i386.deb
  to pool/main/d/dspam/dspam_3.6.4-3_i386.deb
libdspam7-dev_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7-dev_3.6.4-3_i386.deb
libdspam7-drv-db4_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7-drv-db4_3.6.4-3_i386.deb
libdspam7-drv-mysql_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7-drv-mysql_3.6.4-3_i386.deb
libdspam7-drv-pgsql_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7-drv-pgsql_3.6.4-3_i386.deb
libdspam7-drv-sqlite3_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7-drv-sqlite3_3.6.4-3_i386.deb
libdspam7_3.6.4-3_i386.deb
  to pool/main/d/dspam/libdspam7_3.6.4-3_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.
Debian DSPAM Maintainers <[EMAIL PROTECTED]> (supplier of updated dspam 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.7
Date: Wed,  5 Apr 2006 18:33:43 +0200
Source: dspam
Binary: libdspam7-dev libdspam7-drv-pgsql dspam libdspam7-drv-mysql 
dspam-webfrontend dspam-doc libdspam7-drv-db4 libdspam7 libdspam7-drv-sqlite3
Architecture: source i386 all
Version: 3.6.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian DSPAM Maintainers <[EMAIL PROTECTED]>
Changed-By: Debian DSPAM Maintainers <[EMAIL PROTECTED]>
Description: 
 dspam      - is a scalable, fast and statistical anti-spam filter
 dspam-doc  - Documentation for dspam
 dspam-webfrontend - DSPAM is a scalable and statistical anti-spam filter
 libdspam7  - DSPAM is a scalable and statistical anti-spam filter
 libdspam7-dev - DSPAM is a scalable and statistical anti-spam filter
 libdspam7-drv-db4 - DSPAM is a scalable and statistical anti-spam filter
 libdspam7-drv-mysql - DSPAM is a scalable and statistical anti-spam filter
 libdspam7-drv-pgsql - DSPAM is a scalable and statistical anti-spam filter
 libdspam7-drv-sqlite3 - DSPAM is a scalable and statistical anti-spam filter
Closes: 356835 356874 356899 357094 357100 357273 358681 359944 360923
Changes: 
 dspam (3.6.4-3) unstable; urgency=low
 .
   * Small changes in daily crontab. (Closes: #356874)
   * Recommend clamav-daemon, instead of clamav. (Closes: #356899)
   * Don't do apache configuration for dspam-webfrontend. (Closes: #356835)
   * Swap totals in the User Statistics web frontend. (Closes: #357094)
   * Added cron.daily purge script for mysql. (Closes: #357100)
   * Modified dspam crontab to also purge entries from a db4 database.
   * Added patch to remove hardcoded 'yourdomain.com'. Thanks to
     Martijn Pieters. (Closes: #357273)
   * Don't try to configure the mysql / postgresql backend on an unattended
     install. (Closes: #359944)
   * Change procmail dependency to sensible-mda. (Closes: #358681)
   * Removed manpage libdspam from the dspam package (Closes: #360923)
Files: 
 347da41dda1a8dafe16a36a26352bcba 1125 mail optional dspam_3.6.4-3.dsc
 5aa188232bb778a79540fbaf330c5524 49467 mail optional dspam_3.6.4-3.diff.gz
 05ba6b4af91c7c66f95b6a2ac56b6ad7 298966 mail optional dspam_3.6.4-3_i386.deb
 c38720f546d6afa4c63e9048a73bf006 105468 libs optional 
libdspam7_3.6.4-3_i386.deb
 0fff0982ec4163c072bb5f86b18db605 119070 mail optional 
libdspam7-dev_3.6.4-3_i386.deb
 a35241d7770cbaae804c598c6dc9f12b 99520 mail optional 
libdspam7-drv-pgsql_3.6.4-3_i386.deb
 2be3f6d3f1760ad6dc9dd1f685304abe 91708 mail optional 
libdspam7-drv-mysql_3.6.4-3_i386.deb
 1eb156c36fcf6b1057aa3b616da7b440 76698 mail optional 
libdspam7-drv-db4_3.6.4-3_i386.deb
 eced7d97598d001b34d6ec44df9fd33c 81248 mail optional 
libdspam7-drv-sqlite3_3.6.4-3_i386.deb
 41fc41825916825f76a7dc6c399e89c0 105264 mail optional 
dspam-webfrontend_3.6.4-3_all.deb
 daf75092f3b8fe01d25a3498af4e3058 87006 doc optional dspam-doc_3.6.4-3_all.deb

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

iD8DBQFENCzIZvwdf4aUbWkRAmIKAKDheXDTWVG+h/qypfiRCR2Cd9WatACgngf/
FyVO3TJ6Ju161SIf54hrwOc=
=xgFx
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to