Re: OpenDKIM fails to sign IPv6 localhost originating email

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Thu, 3 Jan 2013 14:55:39 -0800 (PST)

On Thu, 3 Jan 2013, Quanah Gibson-Mount wrote:
> zimbra_at_zre-ldap002:~/conf$ cat opendkim-localnets.conf
> 127.0.0.0/8
> 10.137.242.0/24
> [::1]/128
> [fc00:10:137:242::]/64
> [fe80::]/64

Try removing the square brackets.

The code that tests the InternalHosts list takes the following steps:

1) Pass the address to inet_ntop() to get a text representation.
2) Test if that string is in the InternalHosts list. If it is, return "yes".
3) From 64 to 0, turn off the lowest order bit not already tried and pass
that to inet_ntop(), then tack "/n" onto the end, and see if that's in the
list. If it is, return "yes".
4) Return "no".

We don't add square brackets for IPv4 addresses, so we don't do them for
IPv6 either.

-MSK
Received on Thu Jan 03 2013 - 22:55:55 PST

This archive was generated by hypermail 2.3.0 : Thu Jan 03 2013 - 23:00:02 PST