I have the same problem as the bug report with my Ubuntu server,
which I've just upgraded (not tried under Debian, because I don't
use postgrey on my Debian machines).

On 2012-03-31 15:29:20 +0200, Frank Engler wrote:
> Are you sure postfix tries to connect to IPv6? If you are using
> 
> "check_policy_service inet:127.0.0.1:10023"
> 
> as suggested in README.Debian postfix will not use IPv6.
> The examples in README.Debian should cover IPv6.

Actually there are 2 problems, IMHO. First I think that the examples
are wrong, unless the postfix goal is to use IPv4 only, at least there
(but for what reason?).

The second problem is that postfix doesn't use IPv6 even with:

  check_policy_service inet:localhost:10023

I suppose that the bug reported uses that too because the log messages
say: localhost:10023. For instance, on my Ubuntu machine, I had lines
like

postfix/smtpd[5516]: warning: connect to 127.0.0.1:10023: Connection refused

before doing the change from 127.0.0.1:10023 to localhost:10023, and
after the change:

postfix/smtpd[6088]: warning: connect to localhost:10023: Connection refused

Note that "telnet localhost 10023" can connect. So, I wonder why
postfix can't. Then I don't know what is the culprit: postgrey for
listening with IPv6 only[*], or postfix, which doesn't try IPv6,
or both?

[*] # netstat -pln | grep postgrey
tcp6       0      0 ::1:10023               :::*                    LISTEN      
3001/postgrey.pid -

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
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