From: Santiago Vila <sanvila@debian.org>
Subject: IPv6 addresses may need up to 45 chars
Bug-Debian: https://bugs.debian.org/661055

--- a/tables.mysql
+++ b/tables.mysql
@@ -1,5 +1,5 @@
 CREATE TABLE greylist (
-  ip char(16) NOT NULL default '',
+  ip char(45) NOT NULL default '',
   sender char(242) NOT NULL default '',
   recipient char(242) NOT NULL default '',
   first int(11) NOT NULL default '0',
--- a/tables.pgsql
+++ b/tables.pgsql
@@ -1,5 +1,5 @@
 CREATE TABLE greylist (
-  ip char(16) NOT NULL default '',
+  ip char(45) NOT NULL default '',
   sender char(242) NOT NULL default '',
   recipient char(242) NOT NULL default '',
   first bigint NOT NULL default '0',
