opendkim-testkey: keys do not match

From: Brad <brads_at_nyctelecomm.com>
Date: Mon, 12 Jan 2015 19:57:27 -0500

Even after an upgrade to opendkim-2.9.2-r1, I am still getting the same
issue, keys fail to match. I have listed the exact steps used. I tried to
change the selector name and ended up in a worse mess. I can't what opendkim
would see different from dig?

mlr01 keys # cat ../opendkim.conf


LogWhy yes

Syslog yes

SyslogSuccess yes

 

Canonicalization relaxed/simple

 

Domain drpedroazevedo.com

KeyFile /etc/opendkim/keys/default.private

 

Socket inet:8891_at_localhost

ReportAddress postmaster_at_drpedroazevedo.com

SendReports yes

 

## Hosts to sign email for - 127.0.0.1 is default

## See the OPERATION section of opendkim(8) for more information

#

# InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12

 

## For secondary mailservers - indicates not to sign or verify messages

## from these hosts

#

# PeerList X.X.X.X

 

PidFile /var/run/opendkim/opendkim.pid

 

Mode sv

#Selector mydkim

Selector default

SigningTable refile:/etc/opendkim/SigningTable

KeyTable refile:/etc/opendkim/KeyTable

ExternalIgnoreList refile:/etc/opendkim/TrustedHosts

InternalHosts refile:/etc/opendkim/TrustedHosts

LogWhy yes

SignatureAlgorithm rsa-sha256

#UserID milter:milter

#UMask 002

MilterDebug 3

RequireSafeKeys false

-

mlr01 keys # opendkim-genkey -t -s email -d drpedroazevedo.com

-

mlr01 keys # ls

default.private default.txt _domainkey.drpedroazevedo.com

-

mlr01 keys # ls -and *

-rw------- 1 0 0 891 Jan 12 20:20 default.private

-rw------- 1 0 0 327 Jan 12 20:20 default.txt

-rwx--x--x 1 0 0 891 Jan 12 20:21 _domainkey.drpedroazevedo.com

-

mlr01 keys # cat default.txt

default._domainkey IN TXT ( "v=DKIM1; k=rsa; t=y; "

 
"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbJG2W4R2ykqd2x5H/wsUrAC1zRWSPocOTS
lomGxt/RswY2J10gdQ2A5PRRCZmfzsZ6AslFcK6zx5RiBbvzItVSz/X3dpaLh4DovOvJ1dw4kUqf
jvaHnfJ+Bv3KQP4pywvIl2eHXOLYrVvEY2mqNxboRzDdNcVun7+zS7rG2MlvQIDAQAB" ) ;
----- DKIM key default for drpedroazevedo.com

 
Received on Tue Jan 13 2015 - 00:58:11 PST

This archive was generated by hypermail 2.3.0 : Tue Jan 13 2015 - 01:09:01 PST