New Pages with Docker Compose Switcher
Dieser Commit ist enthalten in:
Ursprung
108e93fcf4
Commit
e28b5b8cac
18 geänderte Dateien mit 586 neuen und 123 gelöschten Zeilen
|
@ -60,3 +60,8 @@ code {
|
||||||
:root {
|
:root {
|
||||||
--md-code-font: "Source Code Pro";
|
--md-code-font: "Source Code Pro";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-md-color-scheme="slate"] {
|
||||||
|
|
||||||
|
--md-typeset-a-color: #6390e5;
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
!!! warning
|
!!! warning
|
||||||
Neuere Docker-Versionen scheinen sich über bestehende Volumes zu beschweren. Man kann dies vorübergehend beheben, indem man das bestehende Volume entfernt und mailcow mit der Override-Datei startet. Aber es scheint nach einem Neustart problematisch zu sein (muss bestätigt werden).
|
Neuere Docker-Versionen scheinen sich über bestehende Volumes zu beschweren. Man kann dies vorübergehend beheben, indem man das bestehende Volume entfernt und mailcow mit der Override-Datei startet. Aber es scheint nach einem Neustart problematisch zu sein (muss bestätigt werden).
|
||||||
|
|
||||||
Ein einfacher, schmutziger, aber stabiler Workaround ist es, mailcow zu stoppen (`docker compose down`), `/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data` zu entfernen und einen neuen Link zu Ihrem entfernten Dateisystem zu erstellen, zum Beispiel:
|
Ein einfacher, schmutziger, aber stabiler Workaround ist es, mailcow zu stoppen, `/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data` zu entfernen und einen neuen Link zu Ihrem entfernten Dateisystem zu erstellen, zum Beispiel:
|
||||||
|
|
||||||
```
|
```
|
||||||
mv /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data_backup
|
mv /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data_backup
|
||||||
|
|
|
@ -46,4 +46,16 @@ Der Wert von `MAILCOW_PASS_SCHEME` wird _immer_ verwendet, um neue Passwörter z
|
||||||
|
|
||||||
> Ich habe die Passwort-Hashes in der SQL-Tabelle "Mailbox" geändert und kann mich nicht anmelden.
|
> Ich habe die Passwort-Hashes in der SQL-Tabelle "Mailbox" geändert und kann mich nicht anmelden.
|
||||||
|
|
||||||
Eine "Ansicht" muss aktualisiert werden. Sie können dies durch einen Neustart von sogo-mailcow auslösen: `docker compose restart sogo-mailcow`
|
Eine "Ansicht" muss aktualisiert werden. Sie können dies durch einen Neustart von sogo-mailcow auslösen:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose restart sogo-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart sogo-mailcow
|
||||||
|
```
|
|
@ -46,4 +46,16 @@ The value of `MAILCOW_PASS_SCHEME` will _always_ be used to encrypt new password
|
||||||
|
|
||||||
> I changed the password hashes in the "mailbox" SQL table and cannot login.
|
> I changed the password hashes in the "mailbox" SQL table and cannot login.
|
||||||
|
|
||||||
A "view" needs to be updated. You can trigger this by restarting sogo-mailcow: `docker compose restart sogo-mailcow`
|
A "view" needs to be updated. You can trigger this by restarting sogo-mailcow:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose restart sogo-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart sogo-mailcow
|
||||||
|
```
|
|
@ -45,11 +45,21 @@ services:
|
||||||
|
|
||||||
Damit diese Änderungen wirksam werden, müssen Sie den Stack vollständig stoppen und dann neu starten, damit Container und Netzwerke neu erstellt werden:
|
Damit diese Änderungen wirksam werden, müssen Sie den Stack vollständig stoppen und dann neu starten, damit Container und Netzwerke neu erstellt werden:
|
||||||
|
|
||||||
```
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose down
|
docker compose down
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
**3.** Deaktivieren Sie IPv6 in unbound-mailcow
|
**3.** Deaktivieren Sie IPv6 in unbound-mailcow
|
||||||
|
|
||||||
Bearbeiten Sie `data/conf/unbound/unbound.conf` und setzen Sie `do-ip6` auf "no":
|
Bearbeiten Sie `data/conf/unbound/unbound.conf` und setzen Sie `do-ip6` auf "no":
|
||||||
|
@ -63,10 +73,18 @@ Server:
|
||||||
|
|
||||||
unbound neu starten:
|
unbound neu starten:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose restart unbound-mailcow
|
docker compose restart unbound-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart unbound-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
**4.** Deaktivieren Sie IPv6 in postfix-mailcow
|
**4.** Deaktivieren Sie IPv6 in postfix-mailcow
|
||||||
|
|
||||||
Erstellen Sie `data/conf/postfix/extra.cf` und setzen Sie `smtp_address_preference` auf `ipv4`:
|
Erstellen Sie `data/conf/postfix/extra.cf` und setzen Sie `smtp_address_preference` auf `ipv4`:
|
||||||
|
@ -78,10 +96,18 @@ inet_protocols = ipv4
|
||||||
|
|
||||||
Starten Sie Postfix neu:
|
Starten Sie Postfix neu:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose restart postfix-mailcow
|
docker compose restart postfix-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart postfix-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
**5.** Wenn im Docker Daemon IPv6 komplett deaktiviert ist:
|
**5.** Wenn im Docker Daemon IPv6 komplett deaktiviert ist:
|
||||||
|
|
||||||
Folgende NGINX, Dovecot und Php-fpm Konfigurationsdateien anpassen
|
Folgende NGINX, Dovecot und Php-fpm Konfigurationsdateien anpassen
|
||||||
|
|
|
@ -45,11 +45,20 @@ services:
|
||||||
|
|
||||||
For these changes to be effective, you need to fully stop and then restart the stack, so containers and networks are recreated:
|
For these changes to be effective, you need to fully stop and then restart the stack, so containers and networks are recreated:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose down
|
docker compose down
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
**3.** Disable IPv6 in unbound-mailcow
|
**3.** Disable IPv6 in unbound-mailcow
|
||||||
|
|
||||||
Edit `data/conf/unbound/unbound.conf` and set `do-ip6` to "no":
|
Edit `data/conf/unbound/unbound.conf` and set `do-ip6` to "no":
|
||||||
|
@ -63,10 +72,18 @@ server:
|
||||||
|
|
||||||
Restart Unbound:
|
Restart Unbound:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose restart unbound-mailcow
|
docker compose restart unbound-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart unbound-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
**4.** Disable IPv6 in postfix-mailcow
|
**4.** Disable IPv6 in postfix-mailcow
|
||||||
|
|
||||||
Create `data/conf/postfix/extra.cf` and set `smtp_address_preference` to `ipv4`:
|
Create `data/conf/postfix/extra.cf` and set `smtp_address_preference` to `ipv4`:
|
||||||
|
@ -78,10 +95,18 @@ inet_protocols = ipv4
|
||||||
|
|
||||||
Restart Postfix:
|
Restart Postfix:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose restart postfix-mailcow
|
docker compose restart postfix-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart postfix-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
**5.** If your docker daemon completly disabled IPv6:
|
**5.** If your docker daemon completly disabled IPv6:
|
||||||
|
|
||||||
Fix the following NGINX, Dovecot and php-fpm config files
|
Fix the following NGINX, Dovecot and php-fpm config files
|
||||||
|
|
|
@ -52,7 +52,19 @@ services:
|
||||||
- rspamd-mailcow
|
- rspamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
Starte `docker compose up -d`
|
Starten Sie den mailcow Stack mit:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## Senden Sie eine Kopie der Berichte an sich selbst
|
## Senden Sie eine Kopie der Berichte an sich selbst
|
||||||
|
|
||||||
|
@ -77,35 +89,75 @@ Dies kann nĂĽtzlich sein, wenn Sie...
|
||||||
|
|
||||||
PrĂĽfen Sie, wann der Berichtsplan zuletzt ausgefĂĽhrt wurde:
|
PrĂĽfen Sie, wann der Berichtsplan zuletzt ausgefĂĽhrt wurde:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
docker compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
||||||
|
```
|
||||||
|
|
||||||
Sehen Sie sich die letzte Berichtsausgabe an:
|
Sehen Sie sich die letzte Berichtsausgabe an:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
docker compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
||||||
|
```
|
||||||
|
|
||||||
Manuelles Auslösen eines DMARC-Berichts:
|
Manuelles Auslösen eines DMARC-Berichts:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow rspamadm dmarc_report
|
docker compose exec rspamd-mailcow rspamadm dmarc_report
|
||||||
```
|
```
|
||||||
|
|
||||||
Bestätigen Sie, dass Rspamd Daten in Redis aufgezeichnet hat:
|
=== "docker-compose (Standalone)"
|
||||||
Ă„ndern Sie `20220428` in ein anderes interessantes Datum zum schauen.
|
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow rspamadm dmarc_report
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Bestätigen Sie, dass Rspamd Daten in Redis aufgezeichnet hat:
|
||||||
|
Ă„ndern Sie `20220428` in Ihr gewĂĽnschtes Datum zum ĂĽberprĂĽfen.
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
docker compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
||||||
|
```
|
||||||
|
|
||||||
Nehmen Sie eine der Zeilen aus der Ausgabe, die Sie interessiert, und fordern Sie sie an, z. B.:
|
Nehmen Sie eine der Zeilen aus der Ausgabe, die Sie interessiert, und fordern Sie sie an, z. B.:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
docker compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Ändern Sie die Häufigkeit der DMARC-Berichte
|
## Ändern Sie die Häufigkeit der DMARC-Berichte
|
||||||
|
|
||||||
|
@ -118,7 +170,6 @@ Der Ofelia-Zeitplan hat die gleiche Implementierung wie `cron` in Go, die unters
|
||||||
Um den Zeitplan zu ändern:
|
Um den Zeitplan zu ändern:
|
||||||
|
|
||||||
1. `docker-compose.override.yml` bearbeiten:
|
1. `docker-compose.override.yml` bearbeiten:
|
||||||
|
|
||||||
```
|
```
|
||||||
version: '2.1'
|
version: '2.1'
|
||||||
|
|
||||||
|
@ -137,9 +188,33 @@ services:
|
||||||
- rspamd-mailcow
|
- rspamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
2. FĂĽhren Sie `docker compose up -d` aus.
|
2. Starten Sie die betroffenen Container neu:
|
||||||
|
|
||||||
3. FĂĽhren Sie `docker compose restart ofelia-mailcow` aus
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
3. FĂĽhren Sie einen Neustart nur von Ofelia aus:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose restart ofelia-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart ofelia-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
## DMARC-Berichterstattung deaktivieren
|
## DMARC-Berichterstattung deaktivieren
|
||||||
|
|
||||||
|
@ -149,4 +224,16 @@ Zum Deaktivieren der Berichterstattung:
|
||||||
|
|
||||||
2. Machen Sie Änderungen in `docker-compose.override.yml` an `rspamd-mailcow` und `ofelia-mailcow` rückgängig
|
2. Machen Sie Änderungen in `docker-compose.override.yml` an `rspamd-mailcow` und `ofelia-mailcow` rückgängig
|
||||||
|
|
||||||
3. FĂĽhren Sie `docker compose up -d` aus
|
3. Starten Sie die betroffenen Container neu:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
|
@ -52,7 +52,18 @@ services:
|
||||||
- rspamd-mailcow
|
- rspamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
Run `docker compose up -d`
|
Start the mailcow stack with:
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## Send a copy reports to yourself
|
## Send a copy reports to yourself
|
||||||
|
|
||||||
|
@ -77,33 +88,74 @@ This can be useful if you...
|
||||||
|
|
||||||
Check when the report schedule last ran:
|
Check when the report schedule last ran:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
docker compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow date -r /var/lib/rspamd/dmarc_reports_last_log
|
||||||
|
```
|
||||||
|
|
||||||
See the latest report output:
|
See the latest report output:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
docker compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow cat /var/lib/rspamd/dmarc_reports_last_log
|
||||||
|
```
|
||||||
|
|
||||||
Manually trigger a DMARC report:
|
Manually trigger a DMARC report:
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec rspamd-mailcow rspamadm dmarc_report
|
docker compose exec rspamd-mailcow rspamadm dmarc_report
|
||||||
```
|
```
|
||||||
|
|
||||||
Validate that Rspamd has recorded data in Redis:
|
=== "docker-compose (Standalone)"
|
||||||
Change `20220428` to date which you interested in.
|
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec rspamd-mailcow rspamadm dmarc_report
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Validate that Rspamd has recorded data in Redis: Change `20220428` to date which you interested in.
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
docker compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
||||||
```
|
```
|
||||||
Take one of the lines from output you interested in and request it, f.e.:
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli SMEMBERS "dmarc_idx;20220428"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Take one of the lines from output you interested in and request it, f.e.:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
docker compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli ZRANGE "dmarc_rpt;microsoft.com;mailto:d@rua.agari.com;20220428" 0 49
|
||||||
|
```
|
||||||
|
|
||||||
## Change DMARC reporting frequency
|
## Change DMARC reporting frequency
|
||||||
|
|
||||||
In the example above reports are sent once every 24 hours and send reports for yesterday. This will be okay for most setups.
|
In the example above reports are sent once every 24 hours and send reports for yesterday. This will be okay for most setups.
|
||||||
|
@ -134,9 +186,33 @@ services:
|
||||||
- rspamd-mailcow
|
- rspamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Run `docker compose up -d`
|
2. Restart the desired containers with:
|
||||||
|
|
||||||
3. Run `docker compose restart ofelia-mailcow`
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Restart the ofelia container only:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose restart ofelia-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose restart ofelia-mailcow
|
||||||
|
```
|
||||||
|
|
||||||
## Disable DMARC Reporting
|
## Disable DMARC Reporting
|
||||||
|
|
||||||
|
@ -146,4 +222,16 @@ To disable reporting:
|
||||||
|
|
||||||
2. Revert changes done in `docker-compose.override.yml` to `rspamd-mailcow` and `ofelia-mailcow`
|
2. Revert changes done in `docker-compose.override.yml` to `rspamd-mailcow` and `ofelia-mailcow`
|
||||||
|
|
||||||
3. Run `docker compose up -d`
|
3. Restart the desired containers with:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
|
@ -33,7 +33,21 @@ SQL_PORT=127.0.0.1:13306
|
||||||
SOLR_PORT=127.0.0.1:18983
|
SOLR_PORT=127.0.0.1:18983
|
||||||
```
|
```
|
||||||
|
|
||||||
Um Ihre Ă„nderungen zu ĂĽbernehmen, fĂĽhren Sie `docker compose down` gefolgt von `docker compose up -d` aus.
|
Um Ihre Ă„nderungen zu ĂĽbernehmen, fĂĽhren Sie folgende Befehle aus:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## IPv6-Binding
|
## IPv6-Binding
|
||||||
|
|
||||||
|
@ -69,4 +83,18 @@ services:
|
||||||
- '[2001:db8:dead:beef::123]:443:443'
|
- '[2001:db8:dead:beef::123]:443:443'
|
||||||
```
|
```
|
||||||
|
|
||||||
Um Ihre Ă„nderungen zu ĂĽbernehmen, fĂĽhren Sie `docker compose down` gefolgt von `docker compose up -d` aus.
|
Um Ihre Ă„nderungen zu ĂĽbernehmen, fĂĽhren Sie folgendes aus:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
|
@ -33,7 +33,21 @@ SQL_PORT=127.0.0.1:13306
|
||||||
SOLR_PORT=127.0.0.1:18983
|
SOLR_PORT=127.0.0.1:18983
|
||||||
```
|
```
|
||||||
|
|
||||||
To apply your changes, run `docker compose down` followed by `docker compose up -d`.
|
To apply your changes, run:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## IPv6 binding
|
## IPv6 binding
|
||||||
|
|
||||||
|
@ -69,4 +83,18 @@ services:
|
||||||
- '[2001:db8:dead:beef::123]:443:443'
|
- '[2001:db8:dead:beef::123]:443:443'
|
||||||
```
|
```
|
||||||
|
|
||||||
To apply your changes, run `docker compose down` followed by `docker compose up -d`.
|
To apply your changes, run the commands below:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
|
@ -1,7 +1,19 @@
|
||||||
Das Logging in mailcow: dockerized besteht aus mehreren Stufen, ist aber immerhin wesentlich flexibler und einfacher in einen Logging-Daemon zu integrieren als bisher.
|
Das Logging in mailcow: dockerized besteht aus mehreren Stufen, ist aber immerhin wesentlich flexibler und einfacher in einen Logging-Daemon zu integrieren als bisher.
|
||||||
|
|
||||||
In Docker schreibt die containerisierte Anwendung (PID 1) ihre Ausgabe auf stdout. FĂĽr echte Ein-Anwendungs-Container funktioniert das sehr gut.
|
In Docker schreibt die containerisierte Anwendung (PID 1) ihre Ausgabe auf stdout. FĂĽr echte Ein-Anwendungs-Container funktioniert das sehr gut.
|
||||||
FĂĽhren Sie `docker compose logs --help` aus, um mehr zu erfahren.
|
FĂĽhren Sie folgenden Befehl aus, um mehr zu erfahren:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose logs --help
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose logs --help
|
||||||
|
```
|
||||||
|
|
||||||
Einige Container protokollieren oder streamen an mehrere Ziele.
|
Einige Container protokollieren oder streamen an mehrere Ziele.
|
||||||
|
|
||||||
|
@ -96,12 +108,12 @@ Wenn Sie den Logging-Treiber **global** ändern wollen, editieren Sie die Konfig
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
...
|
[...]
|
||||||
"log-driver": "gelf",
|
"log-driver": "gelf",
|
||||||
"log-opts": {
|
"log-opts": {
|
||||||
"gelf-address": "udp://graylog:12201"
|
"gelf-address": "udp://graylog:12201"
|
||||||
}
|
}
|
||||||
...
|
[...]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -109,16 +121,30 @@ FĂĽr Syslog:
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
...
|
[...]
|
||||||
"log-driver": "syslog",
|
"log-driver": "syslog",
|
||||||
"log-opts": {
|
"log-opts": {
|
||||||
"syslog-address": "udp://1.2.3.4:514"
|
"syslog-address": "udp://1.2.3.4:514"
|
||||||
}
|
}
|
||||||
...
|
[...]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Starten Sie den Docker-Daemon neu und fĂĽhren Sie `docker compose down && docker compose up -d` aus, um die Container mit dem neuen Protokollierungstreiber neu zu erstellen.
|
Starten Sie den Docker-Daemon neu und fĂĽhren Sie die folgenden Befehle aus, um die Container mit dem neuen Protokollierungstreiber neu zu erstellen:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
### Log rotation
|
### Log rotation
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,19 @@
|
||||||
Logging in mailcow: dockerized consists of multiple stages, but is, after all, much more flexible and easier to integrate into a logging daemon than before.
|
Logging in mailcow: dockerized consists of multiple stages, but is, after all, much more flexible and easier to integrate into a logging daemon than before.
|
||||||
|
|
||||||
In Docker the containerized application (PID 1) writes its output to stdout. For real one-application containers this works just fine.
|
In Docker the containerized application (PID 1) writes its output to stdout. For real one-application containers this works just fine.
|
||||||
Run `docker compose logs --help` to learn more.
|
Run the command below to learn more:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose logs --help
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose logs --help
|
||||||
|
```
|
||||||
|
|
||||||
Some containers log or stream to multiple destinations.
|
Some containers log or stream to multiple destinations.
|
||||||
|
|
||||||
|
@ -117,7 +129,21 @@ For Syslog:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Restart the Docker daemon and run `docker compose down && docker compose up -d` to recreate the containers with the new logging driver.
|
Restart the Docker daemon and run the commands below to recreate the containers with the new logging driver:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
### Log rotation
|
### Log rotation
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,19 @@ Die Funktion ist standardmäßig deaktiviert. Es kann in der `mailcow.conf` durc
|
||||||
ALLOW_ADMIN_EMAIL_LOGIN=y
|
ALLOW_ADMIN_EMAIL_LOGIN=y
|
||||||
```
|
```
|
||||||
und die betroffenen Container neu erstellen mit
|
und die betroffenen Container neu erstellen mit
|
||||||
```
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## Nachteile bei Aktivierung
|
## Nachteile bei Aktivierung
|
||||||
|
|
||||||
- Jeder SOGo-Seiten-Load und jede Active-Sync-Anfrage verursacht eine zusätzliche Ausführung eines internen PHP-Skripts.
|
- Jeder SOGo-Seiten-Load und jede Active-Sync-Anfrage verursacht eine zusätzliche Ausführung eines internen PHP-Skripts.
|
||||||
|
|
|
@ -12,10 +12,19 @@ The feature is disabled by default. It can be enabled in the `mailcow.conf` by s
|
||||||
ALLOW_ADMIN_EMAIL_LOGIN=y
|
ALLOW_ADMIN_EMAIL_LOGIN=y
|
||||||
```
|
```
|
||||||
and recreating the affected containers with
|
and recreating the affected containers with
|
||||||
```
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## Drawbacks when enabled
|
## Drawbacks when enabled
|
||||||
|
|
||||||
- Each SOGo page-load and each Active-Sync request will cause an additional execution of an internal PHP script.
|
- Each SOGo page-load and each Active-Sync request will cause an additional execution of an internal PHP script.
|
||||||
|
|
|
@ -2,27 +2,53 @@
|
||||||
|
|
||||||
Um einen Container an Ihre Shell anzuhängen, können Sie einfach folgendes ausführen
|
Um einen Container an Ihre Shell anzuhängen, können Sie einfach folgendes ausführen
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec $Dienst_Name /bin/bash
|
docker compose exec $Dienst_Name /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec $Dienst_Name /bin/bash
|
||||||
|
```
|
||||||
|
|
||||||
### Verbindung zu Diensten herstellen
|
### Verbindung zu Diensten herstellen
|
||||||
|
|
||||||
Wenn Sie sich direkt mit einem Dienst / einer Anwendung verbinden wollen, ist es immer eine gute Idee, `source mailcow.conf` zu benutzen, um alle relevanten Variablen in Ihre Umgebung zu bekommen.
|
Wenn Sie sich direkt mit einem Dienst / einer Anwendung verbinden wollen, ist es immer eine gute Idee, `source mailcow.conf` zu benutzen, um alle relevanten Variablen in Ihre Umgebung zu bekommen.
|
||||||
|
|
||||||
#### MySQL
|
#### MySQL
|
||||||
|
|
||||||
```
|
|
||||||
Quelle mailcow.conf
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
source mailcow.conf
|
||||||
docker compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
docker compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
source mailcow.conf
|
||||||
|
docker-compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
||||||
|
```
|
||||||
|
|
||||||
#### Redis
|
#### Redis
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli
|
docker compose exec redis-mailcow redis-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli
|
||||||
|
```
|
||||||
|
|
||||||
## Dienstbeschreibungen
|
## Dienstbeschreibungen
|
||||||
|
|
||||||
Hier ist eine kurze Ăśbersicht, welcher Container / Dienst was macht:
|
Hier ist eine kurze Ăśbersicht, welcher Container / Dienst was macht:
|
||||||
|
|
|
@ -2,8 +2,16 @@
|
||||||
|
|
||||||
To attach a container to your shell you can simply run
|
To attach a container to your shell you can simply run
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose exec $Dienst_Name /bin/bash
|
||||||
```
|
```
|
||||||
docker compose exec $Service_Name /bin/bash
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec $Dienst_Name /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
### Connecting to Services
|
### Connecting to Services
|
||||||
|
@ -12,17 +20,34 @@ If you want to connect to a service / application directly it is always a good i
|
||||||
|
|
||||||
#### MySQL
|
#### MySQL
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
source mailcow.conf
|
source mailcow.conf
|
||||||
docker compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
docker compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
source mailcow.conf
|
||||||
|
docker-compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
|
||||||
|
```
|
||||||
|
|
||||||
#### Redis
|
#### Redis
|
||||||
|
|
||||||
```
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
docker compose exec redis-mailcow redis-cli
|
docker compose exec redis-mailcow redis-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose exec redis-mailcow redis-cli
|
||||||
|
```
|
||||||
|
|
||||||
## Service Descriptions
|
## Service Descriptions
|
||||||
|
|
||||||
Here is a brief overview of what container / service does what:
|
Here is a brief overview of what container / service does what:
|
||||||
|
|
|
@ -1,9 +1,35 @@
|
||||||
!!! warning
|
!!! warning
|
||||||
Dieser Abschnitt gilt nur fĂĽr Docker's Standard-Logging-Treiber (JSON).
|
Dieser Abschnitt gilt nur fĂĽr Docker's Standard-Logging-Treiber (JSON).
|
||||||
|
|
||||||
Um die Logs aller mailcow: dockerized bezogenen Container zu sehen, können Sie `docker compose logs` innerhalb Ihres mailcow-dockerized Ordners verwenden, der Ihre `mailcow.conf` enthält. Dies ist normalerweise ein bisschen viel, aber Sie können die Ausgabe mit `--tail=100` auf die letzten 100 Zeilen pro Container kürzen, oder ein `-f` hinzufügen, um die Live-Ausgabe aller Ihrer Dienste zu verfolgen.
|
Um die Logs aller mailcow: dockerized bezogenen Container zu sehen, können Sie den folgenden Befehl innerhalb Ihres mailcow-dockerized Ordners verwenden, der Ihre `mailcow.conf` enthält:
|
||||||
|
|
||||||
Um die Logs eines bestimmten Dienstes zu sehen, kann man `docker compose logs [options] $service_name` verwenden
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose logs
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose logs
|
||||||
|
```
|
||||||
|
|
||||||
|
Dies ist normalerweise ein bisschen viel, aber Sie können die Ausgabe mit `--tail=100` auf die letzten 100 Zeilen pro Container kürzen, oder ein `-f` hinzufügen, um die Live-Ausgabe aller Ihrer Dienste zu verfolgen.
|
||||||
|
|
||||||
|
Um die Logs eines bestimmten Dienstes zu sehen, kann man folgendes verwenden:
|
||||||
|
|
||||||
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker compose logs [options] $service_name
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker-compose logs [options] $service_name
|
||||||
|
```
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
Die verfĂĽgbaren Optionen fĂĽr den Befehl **docker compose logs** sind:
|
Die verfĂĽgbaren Optionen fĂĽr den Befehl **docker compose logs** sind:
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block announce %}
|
{% block announce %}
|
||||||
<center><h4>Alle Befehle sind gemäß der Syntax des <a href="https://docs.docker.com/compose/install/linux/">Docker Compose Plugin</a> und der <a href="https://docs.docker.com/compose/install/other/">Standalone Variante</a> anschaubar.<br>
|
{% if config.theme.language == 'de' %}
|
||||||
All Commands are available according to the <a href="https://docs.docker.com/compose/install/linux/">Docker Compose Plugin</a> and the <a href="https://docs.docker.com/compose/install/other/">Standalone Version</a><br></h4></center>
|
<center><h4>Alle Befehle sind gemäß der Syntax des <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/linux/">Docker Compose Plugin</a> und der <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/other/">Standalone Variante</a> anwählbar.<br></h4></center>
|
||||||
|
{% elif config.theme.language == 'en' %}
|
||||||
|
<center><h4>All Commands are available according to the <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/linux/">Docker Compose Plugin</a> and the <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/other/">Standalone Version</a></h4></center>
|
||||||
|
{% else %}
|
||||||
|
<center><h4>All Commands are available according to the <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/linux/">Docker Compose Plugin</a> and the <a style="color:#6390e5;" href="https://docs.docker.com/compose/install/other/">Standalone Version</a></h4></center>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
Laden …
In neuem Issue referenzieren