DKIM: Difference between revisions
From DWIKI
m →Links Tag: wikieditor |
m →HOWTO Tag: wikieditor |
||
| Line 17: | Line 17: | ||
=HOWTO= | =HOWTO= | ||
==Find published dkim key== | |||
In mailheader look for 'd=' and 's=' to get domain and selector, then | |||
dig <selector>._domainkey.<domain> TXT | |||
==Check if keys match== | ==Check if keys match== | ||
dig myselector._domainkey.example.com txt | dig myselector._domainkey.example.com txt | ||
Revision as of 07:39, 4 September 2025
DomainKeys Identified Mail
Links
- dkim check
- DKIM and postfix
- Postfix and dkim-milter
- DKIM with CNAME or TXT
- About DKIM
- DKIM with Sendmail
- https://wiki.debian.org/OpenDKIM
- http://www.myiptest.com/staticpages/index.php/DomainKeys-DKIM-SPF-Validator-test
- SPF and DKIM on Debian
- OpenDKIM
HOWTO
Find published dkim key
In mailheader look for 'd=' and 's=' to get domain and selector, then
dig <selector>._domainkey.<domain> TXT
Check if keys match
dig myselector._domainkey.example.com txt
and save the bit from "p=" to public.key.b64
openssl enc -base64 -d -in public.key.b64 -out public.key openssl rsa -pubin -inform DER -in public.key -noout -modulus
and compare the shown modulus with
openssl rsa -in private.key -noout -modulus
They should be identical
