Bonjour
j’héberge 2 noms de domaines sur mon serveur
La configuration du premier est opérationnelle et aucun soucis avec les mails
Par contre pour le second, bien qu’ayant fait la même chose au niveau de l’administration, j’ai un soucis de DKIM
J’ai bien mis ceci dans ma zone DNS chez OVH (le même que pour le 1er nom de domaine, juste le nom qui change)
Configuration retournée par yonohost
@ 3600 IN MX 10 lesnenfantsperdus.com.
@ 3600 IN TXT “v=spf1 a mx ip4:51.254.143.37 -all”
mail._domainkey 3600 IN TXT “v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChIBUYY4AXTHrWglQ63EAk7KpGCfUPrkqyucG0HIhj2bPBmf4atXgjzfhLOWUtoGwCFDqPmQHXlNF/9rD06PDQmtwfahagnWmgcFe6HfTAwszvPgxrG6H9qdugcjPv9Oqt5ba2QHNIr/ae9h0QimiIQ9ljNMHKri2TniexSby26QIDAQAB”
_dmarc 3600 IN TXT “v=DMARC1; p=none”
Mais quand je fais un test, j’ai cette erreur “DKIM or DK signature exists, but is not valid”
DKIM Information:
DKIM Signature
Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lesnenfantsperdus.com;
s=mail; t=1561970584; h=from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:in-reply-to:
references; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
b=EkyPwMweIVVIoxD6iBpa4ko0ymkbz/KJSx25INiiyFpn87uoIIaWOAyqLMJpC0rr4khPKU
bW8RGgscvUDK58Mnt487gU8d6WtOHl/EcFEiKu3VY+pVJQXuTrna/AI86WS5n5N6fO1Oql
gfgis8Dcc6B0PvWnw0C8npwLfJtK1mc=Signature Information:
v= Version: 1
a= Algorithm: rsa-sha256
c= Method: relaxed/relaxed
d= Domain: lesnenfantsperdus.com
s= Selector: mail
q= Protocol:
bh= g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=
h= Signed Headers: from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:in-reply-to:
references
b= Data: EkyPwMweIVVIoxD6iBpa4ko0ymkbz/KJSx25INiiyFpn87uoIIaWOAyqLMJpC0rr4khPKU
bW8RGgscvUDK58Mnt487gU8d6WtOHl/EcFEiKu3VY+pVJQXuTrna/AI86WS5n5N6fO1Oql
gfgis8Dcc6B0PvWnw0C8npwLfJtK1mc=
Public Key DNS LookupBuilding DNS Query for mail._domainkey.lesnenfantsperdus.com
Retrieved this publickey from DNS: v=DKIM1; k=rsa; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDwkQIUTjkGj/XPM1rVavr1rJP6YRE9Xh0bbZ4Ko113VKKLrlD8HlVtzDdoO2W3YXecJ7ncExN9bOl8U8Af7iJUG2TYLJbWV2pG7U3JoIFS8wzLsZx1/+HuRKMbMujE/7eqkx4hdNNmi8hwtVK16JwTjIiT1K2IxtBGqd5Lrt5gvwIDAQAB
Validating Signatureresult = fail
Details: bad RSA signature
SpamAssassin Score: 2.598
Message is NOT marked as spam
Points breakdown:
…
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid
…
S’'if faut d’autres informations n’hésitez pas
Merci d’avance