Update Postfix attachment_size how-to
Dieser Commit ist enthalten in:
Ursprung
f109cb5821
Commit
2970d45e22
1 geänderte Dateien mit 8 neuen und 3 gelöschten Zeilen
|
@ -1,14 +1,19 @@
|
||||||
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:
|
Also you need align 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/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