Now I try the newest Debian 6, and I found the bug have been fixed.
root@debian6:~# DEBIAN_FRONTEND=noninteractive apt-get install postfix-policyd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
mysql-server-core-5.1 psmisc
Suggested packages:
libipc-sharedcache-perl libterm-readkey-perl tinyca
The following NEW packages will be installed:
dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-template-perl
libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
mysql-server-core-5.1 postfix-policyd psmisc
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.3MB of archives.
After this operation, 60.1MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://mirrors.geekbone.org squeeze/main mysql-common 5.1.47-1 [407kB]
Get:2 http://mirrors.geekbone.org squeeze/main libnet-daemon-perl 0.43-1 [46.6kB]
Get:3 http://mirrors.geekbone.org squeeze/main libplrpc-perl 0.2020-2 [36.0kB]
Get:4 http://mirrors.geekbone.org squeeze/main libdbi-perl 1.611-1 [827kB]
Get:5 http://mirrors.geekbone.org squeeze/main libmysqlclient16 5.1.47-1 [2,270kB]
Get:6 http://mirrors.geekbone.org squeeze/main libdbd-mysql-perl 4.014-1 [137kB]
Get:7 http://mirrors.geekbone.org squeeze/main mysql-client-5.1 5.1.47-1 [8,625kB]
Get:8 http://mirrors.geekbone.org squeeze/main psmisc 22.11-1 [122kB]
Get:9 http://mirrors.geekbone.org squeeze/main mysql-server-core-5.1 5.1.47-1 [4,276kB]
Get:10 http://mirrors.geekbone.org squeeze/main mysql-server-5.1 5.1.47-1 [8,157kB]
Get:11 http://mirrors.geekbone.org squeeze/main dbconfig-common 1.8.46 [474kB]
Get:12 http://mirrors.geekbone.org squeeze/main libhtml-template-perl 2.9-1 [65.7kB]
Get:13 http://mirrors.geekbone.org squeeze/main mysql-client 5.1.47-1 [401kB]
Get:14 http://mirrors.geekbone.org squeeze/main mysql-server 5.1.47-1 [401kB]
Get:15 http://mirrors.geekbone.org squeeze/main postfix-policyd 1.82-2+b1 [62.1kB]
Fetched 26.3MB in 3min 16s (134kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 20103 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.1.47-1_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.611-1_i386.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.47-1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.014-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.47-1_i386.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_22.11-1_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.47-1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.47-1) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 20507 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.47-1_i386.deb) ...
Selecting previously deselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.46_all.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.1.47-1_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.47-1_all.deb) ...
Selecting previously deselected package postfix-policyd.
Unpacking postfix-policyd (from .../postfix-policyd_1.82-2+b1_i386.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.611-1) ...
Setting up libmysqlclient16 (5.1.47-1) ...
Setting up libdbd-mysql-perl (4.014-1) ...
Setting up mysql-client-5.1 (5.1.47-1) ...
Setting up psmisc (22.11-1) ...
Setting up mysql-server-core-5.1 (5.1.47-1) ...
Setting up mysql-server-5.1 (5.1.47-1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up dbconfig-common (1.8.46) ...
Creating config file /etc/dbconfig-common/config with new version
Setting up libhtml-template-perl (2.9-1) ...
Setting up mysql-client (5.1.47-1) ...
Setting up mysql-server (5.1.47-1) ...
Setting up postfix-policyd (1.82-2+b1) ...
dbconfig-common: writing config to /etc/dbconfig-common/postfix-policyd.conf
Creating config file /etc/dbconfig-common/postfix-policyd.conf with new version
Creating config file /etc/postfix-policyd.conf with new version
granting access to database postfixpolicyd for postfix-policyd@localhost: success.
verifying access for postfix-policyd@localhost: success.
creating database postfixpolicyd: success.
verifying database postfixpolicyd exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
Starting Postfix greylisting policy daemon: postfix-policyd.
root@debian6:~#
Now I try the newest Debian 6, and I found the bug have been fixed.
root@debian6:~# DEBIAN_ FRONTEND= noninteractive apt-get install postfix-policyd template- perl server- core-5. 1 psmisc sharedcache- perl libterm- readkey- perl tinyca template- perl server- core-5. 1 postfix-policyd psmisc mirrors. geekbone. org squeeze/main mysql-common 5.1.47-1 [407kB] mirrors. geekbone. org squeeze/main libnet-daemon-perl 0.43-1 [46.6kB] mirrors. geekbone. org squeeze/main libplrpc-perl 0.2020-2 [36.0kB] mirrors. geekbone. org squeeze/main libdbi-perl 1.611-1 [827kB] mirrors. geekbone. org squeeze/main libmysqlclient16 5.1.47-1 [2,270kB] mirrors. geekbone. org squeeze/main libdbd-mysql-perl 4.014-1 [137kB] mirrors. geekbone. org squeeze/main mysql-client-5.1 5.1.47-1 [8,625kB] mirrors. geekbone. org squeeze/main psmisc 22.11-1 [122kB] mirrors. geekbone. org squeeze/main mysql-server- core-5. 1 5.1.47-1 [4,276kB] mirrors. geekbone. org squeeze/main mysql-server-5.1 5.1.47-1 [8,157kB] mirrors. geekbone. org squeeze/main dbconfig-common 1.8.46 [474kB] mirrors. geekbone. org squeeze/main libhtml- template- perl 2.9-1 [65.7kB] mirrors. geekbone. org squeeze/main mysql-client 5.1.47-1 [401kB] mirrors. geekbone. org squeeze/main mysql-server 5.1.47-1 [401kB] mirrors. geekbone. org squeeze/main postfix-policyd 1.82-2+b1 [62.1kB] common_ 5.1.47- 1_all.deb) ... daemon- perl_0. 43-1_all. deb) ... perl_0. 2020-2_ all.deb) ... perl_1. 611-1_i386. deb) ... ent16_5. 1.47-1_ i386.deb) ... mysql-perl_ 4.014-1_ i386.deb) ... client- 5.1_5.1. 47-1_i386. deb) ... 22.11-1_ i386.deb) ... core-5. 1. core-5. 1 (from .../mysql- server- core-5. 1_5.1.47- 1_i386. deb) ... server- 5.1_5.1. 47-1_i386. deb) ... common_ 1.8.46_ all.deb) ... template- perl. template- perl (from .../libhtml- template- perl_2. 9-1_all. deb) ... client_ 5.1.47- 1_all.deb) ... server_ 5.1.47- 1_all.deb) ... policyd_ 1.82-2+ b1_i386. deb) ... core-5. 1 (5.1.47-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-
libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
mysql-
Suggested packages:
libipc-
The following NEW packages will be installed:
dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-
libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
mysql-
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.3MB of archives.
After this operation, 60.1MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Fetched 26.3MB in 3min 16s (134kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 20103 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlcli
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_
Selecting previously deselected package mysql-server-
Unpacking mysql-server-
Processing triggers for man-db ...
Setting up mysql-common (5.1.47-1) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 20507 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-
Selecting previously deselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-
Selecting previously deselected package libhtml-
Unpacking libhtml-
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-
Selecting previously deselected package postfix-policyd.
Unpacking postfix-policyd (from .../postfix-
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.611-1) ...
Setting up libmysqlclient16 (5.1.47-1) ...
Setting up libdbd-mysql-perl (4.014-1) ...
Setting up mysql-client-5.1 (5.1.47-1) ...
Setting up psmisc (22.11-1) ...
Setting up mysql-server-
Setting up mysql-server-5.1 (5.1.47-1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up dbconfig-common (1.8.46) ...
Creating config file /etc/dbconfig- common/ config with new version template- perl (2.9-1) ... common/ postfix- policyd. conf
Setting up libhtml-
Setting up mysql-client (5.1.47-1) ...
Setting up mysql-server (5.1.47-1) ...
Setting up postfix-policyd (1.82-2+b1) ...
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig- common/ postfix- policyd. conf with new version
Creating config file /etc/postfix- policyd. conf with new version policyd@ localhost: success. policyd@ localhost: success.
granting access to database postfixpolicyd for postfix-
verifying access for postfix-
creating database postfixpolicyd: success.
verifying database postfixpolicyd exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
Starting Postfix greylisting policy daemon: postfix-policyd.
root@debian6:~#