[exim] DKIM pubkey_dns_syntax

Top Page
Delete this message
Reply to this message
Author: Torsten Tributh
Date:  
To: Exim-users
Subject: [exim] DKIM pubkey_dns_syntax
Hi,
in the last weeks, i see an increasing amount of DKIM errors,
mentioning an (pubkey_dns_syntax) error.

Here is just a single sample:
2017-12-02 20:10:15.090 [23827] 1eLDB0-0006CJ-W4 DKIM: d=fohrmann.com
s=newsletter2go c=simple/simple a=rsa-sha256 b=1024 [invalid - syntax
error in public key record]

When checking the DKIM-key by hand:

dig +short TXT newsletter2go._domainkey.fohrmann.com
"v=spf1 mx a include:spf.nl2go.com -all"
"v=DKIM1; k=rsa;
p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPOicsJWjGF90epzxL+IpdHMLCrPTdUpWhYV6o6LgIhidD1DdofDGxqkCZ671sdwh4drVtIMHn6Ojm1uabRYoa3QeiHJ5Sz90X3KMKH6z4GI3h4y9+2Ov9g7aQ7VCYuKxcRCD7ZGKUhiBcFZZkU+cRlx1pdFPkX8+AXM19JbJKcQIDAQAB;"

it turned out, that their is beside the DKIM-key an extra SPF-record.
Could that be the reason for the "(pubkey_dns_syntax)" in the log?
When i look "only" at the DKIM-key it looks correct.

Is that an error, getting confused from extra DNS settings in DKIM-Key
checking, or should we blame the persons, who start to put
SPF-records in unusual places?

Kind regards Torsten


--
Torsten