I've got a problem with the use of X.509 certificate with qmail-remote.
I created /var/qmail/control/tlsdestinations file which contains only "*:"
I created /var/qmail/control/servercert.pem file which contains my X.509 certificat, but each time my server try to use STARTTTLS to send mail I have this error in my qmail logs :
and put the file permissions it told :
-rw-r----- 1 root qmail 5758 29 mars 08:03 clientcert.pem
-rw-r----- 1 root nofiles 5758 29 mars 08:03 servercert.pem
I finally found where the probelm was : in my domaincert file, I didn't put the fully qualified path to severcert.pem (/var/qmail/control/servercert.pem).
It works fine now.
Thank you!