mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 09:34:33 +02:00
scripts: improve CLAMAV_MESSAGE_SIZE_LIMIT
usage (#3332)
* add sanity check for Clam size & adjusted MaxScanSize The second part is of special importance! See <https://askubuntu.com/a/1448525>, which explains that the maximum scan size is important as well. We previously just set the maximum file size, which actually is pretty insecure as we silently not scan mile bigger than `MaxScanSize`. This is corrected now. * add SlamAV size configuration to Rspamd
This commit is contained in:
parent
3340b80972
commit
78b7f0cbea
5 changed files with 33 additions and 2 deletions
|
@ -10,4 +10,5 @@ ClamAV {
|
|||
scan_mime_parts = false;
|
||||
symbol = "CLAM_VIRUS";
|
||||
log_clean = true;
|
||||
max_size = 25000000;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue