Pārlūkot izejas kodu

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).
Michael Kuron 8 gadi atpakaļ
vecāks
revīzija
f3fad4e7a2

+ 0 - 1
data/conf/rmilter/rmilter.conf

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

+ 0 - 1
data/conf/rspamd/local.d/antivirus.conf

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