Bug#859067: opendkim: reason="key not found in DNS" is not an adequate explanation

2019-12-29 Thread David Bürgin
tags 859067 unreproducible
thanks

OpenDKIM reports ‘key not found’ when no public key exists in DNS at its
specified location ._domainkey.. In my tests with
opendkim 2.11.0~alpha-11, the milter and opendkim-testmsg seem to agree
in their result when there is no key. We would need to see a sample
failing message to investigate further.



Bug#859067: opendkim: reason="key not found in DNS" is not an adequate explanation

2017-03-29 Thread Russell Coker
Package: opendkim
Version: 2.11.0~alpha-9
Severity: normal

Authentication-Results: smtp.sws.net.au;
dkim=fail reason="key not found in DNS" (0-bit key; unprotected) 
header.d=etbe.example.com header.i=@etbe.example.com header.b="VHEGE743";
dkim-atps=neutral

Above is a header error I received from sending a test email with the
domain etbe.example.com.  The command opendkim-testmsg on the same system
regards the email as ok and tcpdump showed the DNS lookup succeeding.

I think that there needs to be more information on how the key was not found
so I can track this sort of problem down.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages opendkim depends on:
ii  adduser  3.115
ii  dns-root-data2015052300+h+1
ii  init-system-helpers  1.47
ii  libbsd0  0.8.3-1
ii  libc62.24-9
ii  libdb5.3 5.3.28-12+b1
ii  libldap-2.4-22.4.44+dfsg-3
ii  liblua5.1-0  5.1.5-8.1+b2
ii  libmemcached11   1.0.18-4.1
ii  libmemcachedutil21.0.18-4.1
ii  libmilter1.0.1   8.15.2-8
ii  libopendbx1  1.4.6-11
ii  libopendkim112.11.0~alpha-9
ii  librbl1  2.11.0~alpha-9
ii  libssl1.11.1.0e-1
ii  libunbound2  1.6.0-3
ii  libvbr2  2.11.0~alpha-9
ii  lsb-base 9.20161125

opendkim recommends no packages.

Versions of packages opendkim suggests:
ii  opendkim-tools  2.11.0~alpha-9
pn  unbound 

-- Configuration Files:
/etc/default/opendkim [Errno 2] No such file or directory: 
'/etc/default/opendkim'
/etc/opendkim.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/tmpfiles.d/opendkim.conf (from opendkim package)