Simile8008 Hello, I’m experiencing the Dovecot restarting issue in the Common Problems section of the Mailcow documentation, however dhparams.pem exists in ./data/assets/ssl. The error I’m getting is doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 45: ssl_dh: Can't open file /etc/ssl/mail/dhparams.pem: No such file or directory. Is there any way for me to fix this? I’m not sure what caused it as nothing has changed with my setup recently. I tried removing and regenerating the file but this did not have any effect. Thanks for any help
esackbauer Did you do a proper restart of the stack? docker compose down docker compose up -d Also you could try a re-run of the update.sh
Simile8008 esackbauer I tried shutting all the containers down and bringing them back up, as well as an update, but the issue still persists.
Simile8008 I think I found the solution. While I don’t know what the original problem was, according to the installation guide “The update.sh script must therefore also be run as root. It might be necessary to change ownership and other attributes of files you will otherwise not have access to”. This gave me the idea of completely removing the ./data/assets/ssl folder, and regenerating dhparams.pem file as root instead of as my user. This seems to have worked successfully. I will see if I can make a PR to update the command in the docs so if someone else runs into this they won’t have the same issue.
ETNyx From docs: Install mailcow Clone the master branch of the repository, make sure your umask equals 0022. Please clone the repository as root user and also control the stack as root. https://docs.mailcow.email/getstarted/install/#check-selinux-specifics Sady it is mention only once