Your message dated Wed, 3 Jul 2019 12:48:43 -0700
with message-id <[email protected]>
and subject line Re: postgrey: listening on IPv6 does not work, gives 
connection refused to postfix
has caused the Debian Bug report #656046,
regarding postgrey: listening on IPv6 does not work, gives connection refused 
to postfix
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.)


-- 
656046: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656046
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:



--- End Message ---
--- Begin Message ---
Package: postgrey
Version: 1.36-3+deb9u2
Followup-For: Bug #656046

This appears to be working fine now, like this:

POSTGREY_OPTS="--inet=localhost:10023"

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

Kernel: Linux 5.1.11-x86_64-linode127 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postgrey depends on:
ii  adduser                3.115
ii  debconf [debconf-2.0]  1.5.61
ii  libberkeleydb-perl     0.55-1+b2
ii  libnet-dns-perl        1.07-1
ii  libnet-server-perl     2.008-3
ii  libnetaddr-ip-perl     4.079+dfsg-1+b1
ii  perl                   5.24.1-3+deb9u5
ii  ucf                    3.0036

Versions of packages postgrey recommends:
ii  libnet-rblclient-perl  0.5-3
ii  libparse-syslog-perl   1.10-2
ii  postfix                3.1.12-0+deb9u1

postgrey suggests no packages.

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

-- 
Kenyon Ralph

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to