mailcow / mailcow-dockerized-docs

mailcow: dockerized - documentation 📰
https://docs.mailcow.email
87 stars 217 forks source link

Creating dhparam.pem as root (Troubleshooting > Common Problems) #723

Closed Handrail9 closed 4 months ago

Handrail9 commented 4 months ago

Mailcow's Dovecot container will not see dhparam.pem unless it is generated as root, and adding sudo will make it so any users running the command won't be confused as to why dovecot is still not running

Jniklas2 commented 4 months ago

mailcow currently explicitly states, that you should do everything related to mailcow, directly with the root user...

Link to docs

image

Handrail9 commented 4 months ago

mailcow currently explicitly states, that you should do everything related to mailcow, directly with the root user...

Link to docs

image

Yeah exactly, so the command itself should be run as root in some fashion, feel free to change it to remove the sudo and just state it needs to be done as root. A sysadmin is not going to remember a piece of installation documentation for one project they read over a year ago while theyre in the troubleshooting section trying to fix an issue.

Jniklas2 commented 4 months ago

Then you have to add it to every page and I don't think that's really useful. And I hope you do something on your Mailcow instance more often than once a year. At least updating should be done at least once a month.

Handrail9 commented 4 months ago

At least updating should be done at least once a month.

update.sh tells you to run it as root.