DKIM

From DWIKI
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

DomainKeys Identified Mail

Links

Howto

cd /etc/opendkim/keys

The 'selector' you choose here does not have to be the actual selector used in DNS. It is just the name used for storing the .txt and .private files

opendkim-genkey -s somename -d domain.name

SigningTable

  1. somename is the first field in Keytable
*@domain.nl somename

KeyTable

Here the name of the selector is the one you publish in dns

lookupname domain.name:selectorname:/path/to/somename.private


Checking

opendkim-testkey -v

This will try to fetch the key published in DNS, so "record not found" means DNS record not found.

FAQ

opendkim: no signing table match for

In opendkim.conf use:

refile:/etc/opendkim/SigningTable

opendkim-testkey key not secure

Probably means you have no DNSSEC