ZhangHuangbin wrote:What's the command output on your server or laptop?
$ dig -t txt dkim._domainkey.labie.net
Is it same as the output of 'amavisd showkeys'? Looks like your DNS servicer provider doesn't support long DKIM key.
on my home computer i get following output :
# dig -t txt dkim._domainkey.labie.net
; <<>> DiG 9.9.5-9+deb8u2-Debian <<>> -t txt dkim._domainkey.labie.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35218
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;dkim._domainkey.labie.net. IN TXT
;; ANSWER SECTION:
dkim._domainkey.labie.net. 180 IN TXT "v=DKIM1\; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArNI4vc1zuQqKNpGEIDCvmXyvBTeX7Q+8yJm/kSClGMiAxmFqfLmkDAmwFKTzF88"
;; Query time: 43 msec
;; SERVER: 192.168.20.1#53(192.168.20.1)
;; WHEN: Sat Aug 08 14:56:32 CEST 2015
;; MSG SIZE rcvd: 174
on vps with command amavisd-new showkeys :
# amavisd-new showkeys
; key#1, domain labie.net, /var/lib/dkim/labie.net.pem
dkim._domainkey.labie.net. 3600 TXT (
"v=DKIM1; p="
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArNI4vc1zuQqKNpGEIDCv"
"mXyvBTeX7Q+8yJm/kSClGMiAxmFqfLmkDAmwFKTzF88ptl7VvkDjS4ubBxRUcwk+"
"0+kC0oBKGu5Z36fMTQtD6O1wA5F85xpWBt6PqautDdxP+U4rYBudKUSpJiylPxpZ"
"0jOWiPEiBOaOXAcq90M9B85EARB27THCixGI72WavkC43X6tLyWRCIkJYBBtw9Me"
"aHMeIxDht8CfrkyhImug0A5hl00hAYC4+PZLu2YQyNeErIBovnWvkhPtrfMkGOrL"
"7qox/u1Q97pYGRe52iglo8+f0QsC6bnoavYRYlJt4SZCH9IYner0Il7cgpYJPL20"
"owIDAQAB")
So to me it looks like the key is changed again ...