Package: postgrey
Version: 1.33-3~bpo60+1
Severity: normal
Tags: ipv6 upstream

With a version of libnet-server-perl which is capable of listening on
IPv6, postgrey does not work. I believe the default configuration in
/etc/default/postgrey includes this line:

POSTGREY_OPTS="--inet=10023"

With no host specified, postgrey translates this to localhost:10023.
This means Net::Server will open an IPv6 socket, if you have localhost
resolve to::1 in /etc/hosts. Regardless of /etc/hosts though, postgrey
should be able to listen on IPv6.

With postgrey listening on IPv6, postfix logs these messages, and then
rejects incoming mail due to server configuration problems (code 451):

2012-01-15T21:57:05.274902-08:00 darwin postfix/smtpd[10610]: warning: connect 
to localhost:10023: Connection refused
2012-01-15T21:57:05.274935-08:00 darwin postfix/smtpd[10610]: warning: problem 
talking to server localhost:10023: Connection refused

However, strangely, telnet to the postgrey port on IPv6 seems to work fine.

I've looked at postgrey's code, but I don't see why this happens.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4-x86_64-linode21 (SMP w/4 CPU cores)
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 postgrey depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libberkeleydb-perl     0.42-1~squeeze1   use Berkeley DB 4 databases from P
ii  libnet-dns-perl        0.66-2            Perform DNS queries from a Perl sc
ii  libnet-server-perl     0.99-3~bpo60+1    extensible, general perl server en
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

Versions of packages postgrey recommends:
ii  libdigest-sha1-perl      2.13-1          NIST SHA-1 message digest algorith
ii  libnet-rblclient-perl    0.5-2           Queries multiple Realtime Blackhol
ii  libparse-syslog-perl     1.10-1          Perl module for parsing syslog ent
ii  postfix                  2.8.3-1~bpo60+1 High-performance mail transport ag

postgrey suggests no packages.

-- debconf information:
  postgrey/1.32-3_changeport:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to