So, my letsencrypt cert got renewed any now I cannot send email.
Why you might ask?
The exim.cert seems to be a symlink to the actual certificate
The cert:
So yes, ONLY the diradmin user may read this file, the "mail" user is already in the "diradmin" group but group reads are disabled.
So, did I do something strange? Should the renew script copy/paste the certificate with the correct permission (should I set that up myself with a post renew script if that exists)?
Why you might ask?
2016-10-21 13:09:12 TLS error on connection from xx-xx-xx-85.ftth.glasoperator.nl [xx.xx.xx.230] (SSL_CTX_use_certificate_chain_file file=/etc/exim.cert): error:0200100D:system library:fopenermission denied
The exim.cert seems to be a symlink to the actual certificate
lrwxrwxrwx 1 root root 79 Aug 22 09:48 exim.cert -> /usr/local/directadmin/data/users/admin/domains/xxx-xxx.nl.cert.combined
The cert:
-rw------- 1 diradmin diradmin 3924 Oct 21 00:13 /usr/local/directadmin/data/users/admin/domains/xxx-xxx.nl.cert.combined
So yes, ONLY the diradmin user may read this file, the "mail" user is already in the "diradmin" group but group reads are disabled.
So, did I do something strange? Should the renew script copy/paste the certificate with the correct permission (should I set that up myself with a post renew script if that exists)?