Your message dated Thu, 12 Jun 2008 11:17:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#480365: fixed in greylistd 0.8.7
has caused the Debian Bug report #480365,
regarding greylistd: singleupdate option is broken
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.)


-- 
480365: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480365
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: greylistd
Version: 0.8.6-0.1
Severity: normal


The "singleupdate = true" option does not have the proper effect. The
following patch solves this problem:

--- greylistd_orig      2008-05-09 16:09:24.000000000 +0100
+++ greylistd   2008-05-09 15:42:31.000000000 +0100
@@ -472,19 +472,21 @@
         key = hash(" ".join(args))
         state     = listStatus(key)
 
+    if config[DATA][SINGLEUPDATE]:
+        key = hash(args[0])
+        triplet = args[0]
+    else:
+        key = hash(" ".join(args))
+        triplet = " ".join(args)
+
     if state is None:
         state = GREY
         if update and config[DATA][TRIPLETFILE] and
config[DATA][SAVETRIPLETS]:
-            newTriplets[key] = " ".join(args).lower()
+            newTriplets[key] = triplet.lower()
 
     elif ((state == GREY) and 
           (data[GREY][key][IDX_FIRST] + config[TIMEOUTS][RETRYMIN] <
now)):
         state = WHITE
-        if update and config[DATA][SINGLEUPDATE]:
-            do_delete(None, key)
-            key = hash(args[0])
-            if config[DATA][TRIPLETFILE] and
             config[DATA][SAVETRIPLETS]:
-                newTriplets[key] = args[0]
 
     if update:
         do_add([ state ], key)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages greylistd depends on:
ii  adduser                       3.107      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.21     Debian configuration management sy
ii  python                        2.5.2-1    An interactive high-level object-o

Versions of packages greylistd recommends:
ii  exim4                         4.69-5     meta-package to ease Exim MTA (v4)

-- debconf information:
  greylistd/restartexim: true
  greylistd/autoconfig_notdone:
* greylistd/autoconfig_notdone_exim4:



--- End Message ---
--- Begin Message ---
Source: greylistd
Source-Version: 0.8.7

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

greylistd_0.8.7.dsc
  to pool/main/g/greylistd/greylistd_0.8.7.dsc
greylistd_0.8.7.tar.gz
  to pool/main/g/greylistd/greylistd_0.8.7.tar.gz
greylistd_0.8.7_all.deb
  to pool/main/g/greylistd/greylistd_0.8.7_all.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.
Matthew Wakeling <[EMAIL PROTECTED]> (supplier of updated greylistd 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: Wed, 11 Jun 2008 13:50:51 +0100
Source: greylistd
Binary: greylistd
Architecture: source all
Version: 0.8.7
Distribution: unstable
Urgency: low
Maintainer: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
Changed-By: Matthew Wakeling <[EMAIL PROTECTED]>
Description: 
 greylistd  - Greylisting daemon for use with Exim 4
Closes: 311652 480365
Changes: 
 greylistd (0.8.7) unstable; urgency=low
 .
   * Declaring myself as maintainer
   * My first ever Debian package
   * Applied patch from myself to fix bug: Singleupdate option is
     broken (Closes: #480365)
   * Applied patch from Alexander Gordienko to fix bug: network ranges
     in whitelist-hosts don't work (Closes: #311652)
   * Simplified whitelist-hosts, because now we can say /12
   * Bump Standards-version to 3.7.3
   * Shorten long description
Checksums-Sha1: 
 788de5a8db46759a9e862c7297d85935b61f1539 775 greylistd_0.8.7.dsc
 8b61d961719712f684d345be84e5cb3ce1737a0f 51120 greylistd_0.8.7.tar.gz
 436c8d67a8ef49e8813b2f27ef816399fabc1e44 50362 greylistd_0.8.7_all.deb
Checksums-Sha256: 
 ae8b7c5dc224a4c0411c1e939a55e09d7fe52a42fbbd4216ac84c609f208a5b0 775 
greylistd_0.8.7.dsc
 8346f0520acbce1ada19252b3f8b536723a1354bad9298c7d6d818e3457060be 51120 
greylistd_0.8.7.tar.gz
 058947dcb3485fb3504081e3b1fe9cb7fbec7b5211e889d50b1e02d3a106f33b 50362 
greylistd_0.8.7_all.deb
Files: 
 183a56a16169a6bffb8a941cbaf41c38 775 mail optional greylistd_0.8.7.dsc
 ec384d5e23a8e4db964d1f6cb53b2d26 51120 mail optional greylistd_0.8.7.tar.gz
 7f0cf7442cb029212364159011827aca 50362 mail optional greylistd_0.8.7_all.deb

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

iEYEARECAAYFAkhRAwYACgkQpFNRmenyx0f8/gCfWoccLElyZSOWiC0GOkbAhBrB
/YsAoJ+0p2SIq4jSpdvjor/nhjYEdR/J
=RvFF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to