You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/post_installation/firststeps-disable_ipv6.de.md
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ Dies wird **NUR** empfohlen, wenn Sie kein IPv6-fähiges Netzwerk auf Ihrem Host
6
6
Wenn Sie es wirklich brauchen, können Sie die Verwendung von IPv6 in der Compose-Datei deaktivieren.
7
7
Zusätzlich können Sie auch den Start des Containers "ipv6nat-mailcow" deaktivieren, da er nicht benötigt wird, wenn Sie IPv6 nicht verwenden.
8
8
9
-
Anstatt die Datei docker-compose.yml direkt zu bearbeiten, ist es besser, eine Override-Datei zu erstellen
9
+
Anstatt die Datei docker-compose.yml direkt zu bearbeiten, ist es besser, eine Override-Datei zu erstellen
10
10
zu erstellen und Ihre Änderungen am Dienst dort zu implementieren. Leider scheint dies im Moment nur für Dienste zu funktionieren, nicht für Netzwerkeinstellungen.
11
11
12
-
Um IPv6 im mailcow-Netzwerk zu deaktivieren, öffnen Sie docker-compose.yml mit Ihrem bevorzugten Texteditor und suchen Sie nach dem Netzwerk-Abschnitt (er befindet sich am Ende der Datei).
12
+
Um IPv6 im mailcow-Netzwerk zu deaktivieren, öffnen Sie docker-compose.yml mit Ihrem bevorzugten Texteditor und suchen Sie nach dem Netzwerk-Abschnitt (er befindet sich am Ende der Datei).
13
13
14
14
**1.** Ändern Sie docker-compose.yml
15
15
@@ -29,7 +29,7 @@ networks:
29
29
30
30
**2.** ipv6nat-mailcow deaktivieren
31
31
32
-
Um den ipv6nat-mailcow Container ebenfalls zu deaktivieren, gehen Sie in Ihr mailcow Verzeichnis und erstellen Sie eine neue Datei namens "docker-compose.override.yml":
32
+
Um den ipv6nat-mailcow Container ebenfalls zu deaktivieren, gehen Sie in Ihr mailcow Verzeichnis und erstellen Sie eine neue Datei namens "docker-compose.override.yml":
33
33
34
34
**HINWEIS:** Wenn Sie bereits eine Override-Datei haben, erstellen Sie diese natürlich nicht neu, sondern fügen Sie die untenstehenden Zeilen entsprechend in Ihre bestehende Datei ein!
35
35
@@ -116,11 +116,27 @@ Starten Sie Postfix neu:
116
116
117
117
**5.** Wenn im Docker Daemon IPv6 komplett deaktiviert ist:
118
118
119
-
Folgende NGINX, Dovecot und Php-fpm Konfigurationsdateien anpassen
119
+
Folgende Dovecot und Php-fpm Konfigurationsdateien anpassen
120
120
121
121
```
122
-
sed -i '/::/d' data/conf/nginx/templates/listen*
123
-
sed -i '/::/d' data/conf/nginx/dynmaps.conf
124
122
sed -i 's/,\[::\]//g' data/conf/dovecot/dovecot.conf
125
123
sed -i 's/\[::\]://g' data/conf/phpfpm/php-fpm.d/pools.conf
126
124
```
125
+
126
+
**6.** IPv6 Listener für NGINX deaktivieren
127
+
128
+
Setze `DISABLE_IPv6=y` in der Datei `mailcow.conf`.
129
+
130
+
Damit diese Änderung wirksam wird, muss der Container `nginx-mailcow` neu erstellt werden.
Copy file name to clipboardExpand all lines: docs/post_installation/firststeps-disable_ipv6.en.md
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ This is **ONLY** recommended if you do not have an IPv6 enabled network on your
6
6
If you really need to, you can disable the usage of IPv6 in the compose file.
7
7
Additionally, you can also disable the startup of container "ipv6nat-mailcow", as it's not needed if you won't use IPv6.
8
8
9
-
Instead of editing docker-compose.yml directly, it is preferable to create an override file for it
9
+
Instead of editing docker-compose.yml directly, it is preferable to create an override file for it
10
10
and implement your changes to the service there. Unfortunately, this right now only seems to work for services, not for network settings.
11
11
12
-
To disable IPv6 on the mailcow network, open docker-compose.yml with your favourite text editor and search for the network section (it's near the bottom of the file).
12
+
To disable IPv6 on the mailcow network, open docker-compose.yml with your favourite text editor and search for the network section (it's near the bottom of the file).
13
13
14
14
**1.** Modify docker-compose.yml
15
15
@@ -30,7 +30,7 @@ networks:
30
30
31
31
**2.** Disable ipv6nat-mailcow
32
32
33
-
To disable the ipv6nat-mailcow container as well, go to your mailcow directory and create a new file called "docker-compose.override.yml":
33
+
To disable the ipv6nat-mailcow container as well, go to your mailcow directory and create a new file called "docker-compose.override.yml":
34
34
35
35
**NOTE:** If you already have an override file, of course don't recreate it, but merge the lines below into your existing one accordingly!
36
36
@@ -116,12 +116,28 @@ Restart Postfix:
116
116
117
117
**5.** If your docker daemon completly disabled IPv6:
118
118
119
-
Fix the following NGINX, Dovecot and php-fpm config files
119
+
Fix the following Dovecot and php-fpm config files
120
120
121
121
```
122
-
sed -i '/::/d' data/conf/nginx/templates/listen*
123
-
sed -i '/::/d' data/conf/nginx/dynmaps.conf
124
122
sed -i 's/,\[::\]//g' data/conf/dovecot/dovecot.conf
125
123
sed -i 's/\[::\]://g' data/conf/phpfpm/php-fpm.d/pools.conf
126
124
```
127
125
126
+
**6.** Disable IPv6 listeners for NGINX
127
+
128
+
Set `DISABLE_IPv6=y` in `mailcow.conf`
129
+
130
+
For this change to be effective, you need to recreate the `nginx-mailcow` Container
0 commit comments