OpenDKIM fails to sign IPv6 localhost originating email

From: Quanah Gibson-Mount <quanah_at_zimbra.com>
Date: Thu, 03 Jan 2013 13:37:50 -0800

In testing OpenDKIM, I've found that email passed to opendkim from IPv6
localhost fails to be signed:

Jan 3 13:22:20 zre-ldap002 postfix/smtpd[2686]: connect from localhost[::1]
Jan 3 13:22:20 zre-ldap002 postfix/smtpd[2686]: 0D63836172B:
client=localhost[::1]
Jan 3 13:22:20 zre-ldap002 postfix/cleanup[1818]: 0D63836172B:
message-id=<545678226.1.1357248139708.JavaMail.root_at_zre-ldap002.eng.vmware.com>
Jan 3 13:22:20 zre-ldap002 opendkim[12456]: 0D63836172B: localhost [::1]
not internal
Jan 3 13:22:20 zre-ldap002 opendkim[12456]: 0D63836172B: not authenticated


::1 is listed in the set of networks to consider as internal hosts:

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

zimbra_at_zre-ldap002:~/conf$ grep localnets opendkim.conf
InternalHosts file:/opt/zimbra/conf/opendkim-localnets.conf

--Quanah

--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration
Received on Thu Jan 03 2013 - 21:38:16 PST

This archive was generated by hypermail 2.3.0 : Thu Jan 03 2013 - 21:45:01 PST