Remove rspamd size limit

This ensures that the spam and antivirus filters cannot be evaded by making the message large enough.
Rspamd does not need a size limit on its own (e.g. for DoS protection) as Postfix already has a size limit (message_size_limit).
master
Michael Kuron 2017-04-24 19:49:41 +02:00
parent 0f3202109d
commit f3fad4e7a2
2 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ redis {
}; };
tempdir = /tmp; tempdir = /tmp;
tempfiles_mode = 00600; tempfiles_mode = 00600;
max_size = 20M;
strict_auth = yes; strict_auth = yes;
use_dcc = no; use_dcc = no;
limits { limits {

View File

@ -1,6 +1,5 @@
clamav { clamav {
attachments_only = false; attachments_only = false;
max_size = 20000000;
symbol = "CLAM_VIRUS"; symbol = "CLAM_VIRUS";
type = "clamav"; type = "clamav";
log_clean = true; log_clean = true;