Letsencrypt file permission bug

mejay

New member
Joined
Mar 1, 2020
Messages
5
There is some bug that is causing certificate files to sometimes be owned by the "9999" group instead of "mail"

THIS BUG HAPPENS EVERYTIME YOU RUN:
da build dovecot_conf



-rw-r-----. 1 diradmin 9999 288 Dec 19 23:53 domain.com.key
-rw-r-----. 1 diradmin 9999 2934 Dec 19 23:53 domain.com.cert.combined

When that happens, email clients cannot login to smtp because permission is denied on these files.

I caught it last night, deleted those 2 files, and ran:
/usr/local/directadmin/directadmin taskq --run 'action=rewrite&value=letsencrypt&domain=domain.com' --debug 3100

Those 2 files came back properly, with the correct mail group.

But then today, I made some dovecot config changes and ran "da build dovecot_conf" and those files immediately went back to 9999 and I could not login to my email client. So, I deleted them and ran that command again, and once again, it corrected them and everything worked properly again.

AlmaLinux 10
DirectAdmin latest version, installed this week.
 
Back
Top