From 915077175894a07d0d10a66bb2455e5abe82ad9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Kov=C3=A1cs?= Date: Tue, 3 Nov 2020 18:41:03 +0100 Subject: [PATCH 1/2] Add dovecot missing ssl files as common error See https://github.com/mailcow/mailcow-dockerized/issues/2672 --- docs/debug-common_problems.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/debug-common_problems.md b/docs/debug-common_problems.md index dbc5ace30..fca48842e 100644 --- a/docs/debug-common_problems.md +++ b/docs/debug-common_problems.md @@ -72,7 +72,22 @@ dism /online /Enable-Feature /FeatureName:TelnetClient Docker containers use the Docker hosts inotify limits. Setting them on your Docker host will pass them to the container. +## Dovecot keeps restarting (see [#2672](https://github.com/mailcow/mailcow-dockerized/issues/2672)) +Check that you have the following files in `data/assets/ssl`: + + +``` +-r--r--r-- 1 root root 3554 Nov 3 17:07 cert.pem +-rw-r--r-- 1 root root 769 Nov 3 18:24 dhparams.pem +-r-------- 1 root root 1704 Nov 3 17:07 key.pem +``` + +If `dhparams.pem` is missing, you can generate it with + +```bash +openssl dhparam -out data/assets/ssl/dhparams.pem 4096 +``` [^1]: [netcat](https://linux.die.net/man/1/nc), [nmap](https://linux.die.net/man/1/nmap), [openssl](https://wiki.openssl.org/index.php/Manual:S_client(1)), [telnet](https://linux.die.net/man/1/telnet), etc. From 0af6046cb7fd52bee4e229b955ff94bd389c402f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Kov=C3=A1cs?= Date: Mon, 9 Nov 2020 15:55:17 +0100 Subject: [PATCH 2/2] remove ambiguity --- docs/debug-common_problems.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/debug-common_problems.md b/docs/debug-common_problems.md index fca48842e..2c2ba1245 100644 --- a/docs/debug-common_problems.md +++ b/docs/debug-common_problems.md @@ -74,13 +74,12 @@ Docker containers use the Docker hosts inotify limits. Setting them on your Dock ## Dovecot keeps restarting (see [#2672](https://github.com/mailcow/mailcow-dockerized/issues/2672)) -Check that you have the following files in `data/assets/ssl`: - +Check that you have at least the following files in `data/assets/ssl`: ``` --r--r--r-- 1 root root 3554 Nov 3 17:07 cert.pem --rw-r--r-- 1 root root 769 Nov 3 18:24 dhparams.pem --r-------- 1 root root 1704 Nov 3 17:07 key.pem +cert.pem +dhparams.pem +key.pem ``` If `dhparams.pem` is missing, you can generate it with