http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5057

           Summary: spamc now defaults to IPv6 instead of IPv4
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


We recently updated the IPv6 support on dogma, our (debian) colo server. Since
then, I've seen the odd message along these lines:

  Aug 21 13:53:03 dogma spamc[24722]: connect to spamd on ::1 failed, retrying
(#1 of 3): Connection refused

/etc/hosts looks like:

  127.0.0.1       localhost
  ::1     ip6-localhost ip6-loopback
  [etc.]

we don't have the necessary modules installed for spamd to listen on IPv6.

looking into it, it appears that getaddrinfo(NULL) will always use the IPv6
loopback addr, "::1", first, which fails (since spamd is not listening), and
then retries using the IPv6 loopback.

spamc should default to 127.0.0.1 unless otherwise specified.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to