Hi,

Am Sonntag, 20. Juli 2008 schrieb Jarek Kamiński:
> OK, I see the problem. The error is thrown after invocation of
> ip_or_name_to_ip function, defined conditionally:
> #v+
> # Big Ugly Hack; purpose: don't force requirement on IO::Socket::INET6
> BEGIN {
>   use Socket;
>   eval {
>     require IO::Socket::INET6;
>     require Socket6;
>   };
>   if ($@) {    # IPv4 only
> [...]
>   else {    # IPv4+IPv6
> [...]
> #v-
>
> Binding to IPv6 sockets works fine after installing
> libio-socket-inet6-perl, but without it spamd supports only IPv4.
>
> Maintainer, please look at the attached patch. It adds
> libio-socket-inet6-perl to recommends (but suggests may be enough, as
> binding to [::1] is quite uncommon setup) and makes "invalid address"
> error more verbose (suggests installing libio-socket-inet6-perl for IPv6
> support).
Binding to ::1 may be uncommon, but there are lots of other IPv6 addresses...

> Can You confirm, that installing libio-socket-inet6-perl fixes the
> problem?
Yes.

Now the problem is with -A:
# spamd -i ::1 -A ::1
[5654] warn: netset: illegal network address given: '::1'
[5654] error: spamd: aborting due to add_cidr error
spamd: aborting due to add_cidr error


Timo

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to