Your message dated Mon, 16 Apr 2012 18:12:00 +0200 (CEST)
with message-id <alpine.deb.2.02.1204161803040.26...@cantor.unex.es>
has caused the   report #661055,
regarding postfix-gld: Greylisting fails for IPv6 because the "ip" field in the 
database is too short
to be marked as having been forwarded to the upstream software
author(s) Salim Gasmi <sa...@gasmi.net>

(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 ow...@bugs.debian.org
immediately.)


-- 
661055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661055
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.

I received this report from the Debian bug system.

In addition to the problem reported, which is a bad default to follow,
there is also the additional problem of migrating an already existing
database to another one with a wider ip field. Should this be done
automatically? At the very minimum, I would write a recipe for that to
be put in /usr/share/doc, but only once we decide which is the "right"
width.

Thanks.

---------- Forwarded message ----------
From: Edwin Top <edwin+b...@dilruacs.nl>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Date: Thu, 23 Feb 2012 20:50:00 +0100
Subject: Bug#661055: postfix-gld: Greylisting fails for IPv6 because the "ip"
    field in the database is too short

Package: postfix-gld
Version: 1.7-3
Severity: important
Tags: ipv6

The program fails to match sender MTA's correctly in most cases when an
IPv6 address is used.
This is because the field "ip" of the table "greylist" in the MySQL
Database is only a char(16) in /usr/share/gld/tables.mysql
To be able to store IPv6 addresses correctly it should be at least
char(39) (8x4 characters plus 7 for the separating ':').
Or, if you want to take into account IPv4 tunneling features it should be
able to store e.g. "[0000:0000:0000:0000:0000:0000:192.168.0.1]" and
should then be char(45).

With kind regards,

Edwin.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postfix-gld depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.3-2   Embedded GNU C Library: Shared lib
ii  libmysqlclient16              5.1.49-3   MySQL database client library
ii  psmisc                        22.11-1    utilities that use the proc file s

Versions of packages postfix-gld recommends:
ii  mysql-server            5.1.49-3         MySQL database server (metapackage
ii  mysql-server-5.1 [mysql 5.1.49-3         MySQL database server binaries and
ii  postfix                 2.7.1-1+squeeze1 High-performance mail transport ag

postfix-gld suggests no packages.

-- Configuration Files:
/etc/default/gld changed [not included]
/etc/gld.conf changed [not included]

-- no debconf information


--- End Message ---

Reply via email to