Une erreur est apparue après la configuration d' OpenDKIM :
postfix/submission/smtpd[19206]: error: unsupported dictionary type: inet
Feb 17 11:55:50 postfix/submission/smtpd[19206]: warning: cannot load 1024-bit DH parameters from file /etc/postfix/dh1024.pem: No such file or directory -- using compiled-in defaults
postfix/submission/smtpd[19206]: warning: unknown smtpd restriction: "milter_protocol"
D'ailleurs, je ne comprends pas, puisque cette clé n'existe pas, puisque nous avons généré :
openssl dhparam -out /etc/postfix/dh2048.pem 2048
Je comprends l'erreur, il essaie de charger un paramètre qui n'existe pas, mais je ne vois pas où il serait mal renseigné.
D'ailleurs Hard, dans le master.cf, ne devrait-on pas remplacer :
-o smtpd_tls_dh1024_param_file=${config_directory}/dh1024.pem
Par :
-o smtpd_tls_dh1024_param_file=${config_directory}/dh2048.pem
Si je modifie le paramètre ci-dessus, l'erreur disparaît. Néanmoins, ça ne fonctionne pas :
error: unsupported dictionary type: inet
Feb 17 12:09:31 postfix/submission/smtpd[20404]: warning: hostname xx.xxx.xx does not resolve to address xx.xx.xx: Name or service not known
Feb 17 12:09:31 postfix/submission/smtpd[20404]: connect from unknown[xx.xx.xx]
Feb 17 12:09:31 postfix/submission/smtpd[20404]: Anonymous TLS connection established from unknown[xx.xx.xx]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Feb 17 12:09:31 dovecot: auth-worker(20410): mysql(127.0.0.1): Connected to database postfix
Feb 17 12:09:31 postfix/submission/smtpd[20404]: warning: unknown smtpd restriction: "milter_protocol"
Feb 17 12:09:31 postfix/submission/smtpd[20404]: NOQUEUE: reject: RCPT from unknown[xx.xx.xx.xx]: 451 4.3.5 Server configuration error; from=<aaa> to=<bbb> proto=ESMTP helo=<MBPRO.local>