Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized-docs
Dieser Commit ist enthalten in:
Commit
8c8acce780
2 geänderte Dateien mit 21 neuen und 6 gelöschten Zeilen
|
@ -1,14 +1,21 @@
|
||||||
Ă–ffnen Sie `data/conf/postfix/extra.cf` und setzen Sie das `message_size_limit` entsprechend in Bytes. Siehe `main.cf` fĂĽr den Standardwert.
|
Ă–ffnen Sie `data/conf/postfix/extra.cf` und setzen Sie das `message_size_limit` entsprechend in Bytes. Siehe `main.cf` fĂĽr den Standardwert.
|
||||||
|
|
||||||
Starten Sie Postfix neu:
|
Sie müssen auch die Nachrichtengröße in den Konfigurationen von Rspamd und Clamav anpassen:
|
||||||
|
|
||||||
|
+ in `data/conf/rspamd/local.d/options.inc` fĂĽgen Sie den `max_message` Parameter entsprechend den im Postfix gesetzten Wert hinzu. Ziehen Sie die [Rspamd Docs](https://rspamd.com/doc/configuration/options.html#:~:text=DoS%20(default%3A%201024)-,max_message,-maximum%20size%20of) fĂĽr den Standardwert zu rate.
|
||||||
|
+ in `data/conf/rspamd/local.d/external_services.conf` ändern Sie den Wert `max_size` Parameter für `oletools`
|
||||||
|
+ in `data/conf/rspamd/local.d/antivirus.conf` ändern Sie den Wert `max_size` Parameter für `clamav`
|
||||||
|
+ in `data/conf/clamav/clamd.conf` ändern Sie den Wert `MaxScanSize` und `MaxFileSize` auf dieselbe Größe wie in der Postfix `extra.cf`
|
||||||
|
|
||||||
|
Starten Sie Postfix, Rspamd and Clamav neu:
|
||||||
=== "docker compose (Plugin)"
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker compose restart postfix-mailcow
|
docker compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "docker-compose (Standalone)"
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker-compose restart postfix-mailcow
|
docker-compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,14 +1,22 @@
|
||||||
Open `data/conf/postfix/extra.cf` and set the `message_size_limit` accordingly in bytes. See `main.cf` for the default value.
|
Open `data/conf/postfix/extra.cf` and set the `message_size_limit` accordingly in bytes. See `main.cf` for the default value.
|
||||||
|
|
||||||
Restart Postfix:
|
You will also need to adjust message size in Rspamd and Clamav configurations:
|
||||||
|
|
||||||
|
+ in `data/conf/rspamd/local.d/options.inc` add `max_message` parameter, check [Rspamd Docs](https://rspamd.com/doc/configuration/options.html#:~:text=DoS%20(default%3A%201024)-,max_message,-maximum%20size%20of) for defaults
|
||||||
|
+ in `data/conf/rspamd/local.d/external_services.conf` adjust `max_size` parameter for `oletools`
|
||||||
|
+ in `data/conf/rspamd/local.d/antivirus.conf` adjust `max_size` parameter for `clamav`
|
||||||
|
+ in `data/conf/clamav/clamd.conf` adjust `MaxScanSize` and `MaxFileSize`
|
||||||
|
|
||||||
|
|
||||||
|
Restart Postfix, Rspamd and Clamav:
|
||||||
=== "docker compose (Plugin)"
|
=== "docker compose (Plugin)"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker compose restart postfix-mailcow
|
docker compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "docker-compose (Standalone)"
|
=== "docker-compose (Standalone)"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker-compose restart postfix-mailcow
|
docker-compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
|
||||||
```
|
```
|
||||||
|
|
Laden …
Tabelle hinzufĂĽgen
In neuem Issue referenzieren