Browse Source

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 năm trước cách đây
mục cha
commit
f3fad4e7a2
2 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 1
      data/conf/rmilter/rmilter.conf
  2. 0 1
      data/conf/rspamd/local.d/antivirus.conf

+ 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;