new dkim config -> opendkim-testkey: logging non trouvé

J'essaie de configurer dkim et je ne peux pas le faire fonctionner ou tester correctement, et je reçois l'erreur suivante:

opendkim-testkey -vvvv -d domain.com -s par défaut opendkim-testkey: vérification de la key 'default._domainkey.domain.com' opendkim-testkey: 'default._domainkey.domain.com' logging non trouvé

J'ai essayé de renommer à la key pour un tas de possibilités différentes, nah-dah:

mlr01 keys # ls

default default.private _domainkey.domain.com default._domainkey.domain.com default.txt domain.com 

J'ai l'logging suivant dans mon file de zone bind dns

 default._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC/9PDXdenz1TVY5lcdnsx2x+0GEeaLviGkZmnNW+7CCpNcRjj1ulO4CcRWgqCUynJUmHj2ma0HLAsHUC7NZdi0HmagG5HSYA+K8nuB8/SdMPoF+FFG5ccOAwTh7flXPTepwJmJgeN0DrtVzDaWHGs+Y+S9UBPZRR7GfKHb1WIdEwIDAQAB" ) ; ----- DKIM key default for domain.com 

dns est sans erreur sauf pour dkim

Voici ma configuration:

Clés mlr01 # chat ../opendkim.conf

 LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 LogWhy oui LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 Domain domain.com LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 #KeyFile /etc/opendkim/keys/default.private LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 Socket inet: 8891 @ localhost LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 ReportAddress postmaster@domain.com LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 Envoyer des rapports oui LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 ## Les hôtes pour signer un email pour - 127.0.0.1 sont par défaut LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 ## Voir la section OPERATION d'opendkim (8) pour plus d'informations LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 # LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 ## Pour les servers de messagerie secondaires - indique de ne pas signer ou vérifier les messages LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 ## de ces hôtes LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 # LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 # PeerList XXXX LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 PidFile /var/run/opendkim/opendkim.pid LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 #Selector mydkim LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 LogWhy oui LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 SignatureAlgorithm rsa-sha256 LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002 UserID milter: milter LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple Domain domain.com #KeyFile /etc/opendkim/keys/default.private Socket inet:8891@localhost ReportAddress postmaster@domain.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList XXXX PidFile /var/run/opendkim/opendkim.pid Mode sv #Selector mydkim Selector default SigningTable refile:/etc/opendkim/SigningTable KeyTable refile:/etc/opendkim/KeyTable ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts LogWhy yes SignatureAlgorithm rsa-sha256 UserID milter:milter UMask 002