IKEDA Soji
2e742c5491
SUBJ_ALL_CAPS is overkill
It should consider characters in unicase scripts as being not uppercase.
преди 1 седмица
Vsevolod Stakhov
12f965bf98
[Fix] Allow to set 0 as number of rows to disable roll history
Issue: #4947
Closes: #4947
преди 1 седмица
Vsevolod Stakhov
9866fae90e
[Fix] Fix another corner case that allows candidates to be freed without init
преди 1 седмица
Vsevolod Stakhov
2a894821db
[Fix] Apply detection phase if fasttext could not detect language
Issue: #4929
преди 2 седмици
twesterhever
76b39f2c84
[Minor] Add bad file types commonly found in archives attached to malspam
преди 2 седмици
twesterhever
60499c0563
Revert "[Enhancement] Implement Message-ID RHS checks against DNSBLs"
This reverts commit 5e84a82f87
.
преди 2 седмици
twesterhever
5e84a82f87
[Enhancement] Implement Message-ID RHS checks against DNSBLs
преди 1 месец
Vsevolod Stakhov
fa56ac77de
[Fix] Do not read out-of-boundary when doing base64 encoding
преди 2 седмици
Vsevolod Stakhov
990a9dc8db
[Minor] Further normalization
преди 2 седмици
Vsevolod Stakhov
26ac157abc
[Minor] Jitter backpressure
преди 2 седмици
Vsevolod Stakhov
e66c993097
[Project] Implement fuzzy check retransmits backpressure
преди 2 седмици
Vsevolod Stakhov
bd44de491a
[Minor] Change log logic in fuzzy_check
преди 2 седмици
Vsevolod Stakhov
917cdf87bf
[Minor] Add function to reschedule events at specific timer
преди 2 седмици
Vsevolod Stakhov
6dd417bc9f
[Minor] Deal with descriptors in the wait queue
преди 2 седмици
Vsevolod Stakhov
af228fdec3
[Minor] Do not use pointers to local variables, sigh
преди 2 седмици
Vsevolod Stakhov
bd95a45f15
[Minor] Try to fix mess with refcounts
преди 2 седмици
Vsevolod Stakhov
6d1762d85e
[Rework] Serialize control commands
In fact, we cannot send multiple commands and read them through the pipe. It has
caused multiple weird issues in the past but I can now see clearly how it should
be done. We should send commands and serialize all requests pending to let them
being sent one by one, after reply for the previous command has been received.
преди 2 седмици
Vsevolod Stakhov
7c84769997
[Minor] Support UTF8 in Received flags
Issue: #4919
преди 3 седмици
Vsevolod Stakhov
6cf9ca1f97
[Fix] If we have one statfile disabled we need to disable all
преди 3 седмици
aduernberger
20f6d7103e
[Fix] Always set the unlearn flag when relearning
Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.
преди 3 седмици
Dmitriy Alekseev
7d14e4af43
[Enhancement] Exclude false positives of MIME_DOUBLE_BAD_EXTENSION
If we detected extension of the file and this extension is equal to the real extension then we should not pass second extension to check function as it will trigger false positive for MIME_DOUBLE_BAD_EXTENSION.
преди 1 месец
Andrew Lewis
1c07c471bb
[Minor] Fix grow_factor
преди 1 месец
Vsevolod Stakhov
a96ff38346
[Project] Adjust some final bits
преди 1 месец
Vsevolod Stakhov
d1e16266e1
[Project] Write a function to adjust grow factor properly
преди 1 месец
Vsevolod Stakhov
ae103665a2
[Project] Rework grow factor as it is currently broken
преди 1 месец
Vsevolod Stakhov
b2ba70cf7a
[Fix] Honor dynamic thresholds for greylisting module
преди 1 месец
Vsevolod Stakhov
2715f24536
[Minor] Remove redundant metric name
преди 1 месец
Vsevolod Stakhov
2edcc63aea
[Fix] Update greylisting threshold as it can be easily dynamic
Issue: #4908
Closes: #4908
преди 1 месец
Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
преди 1 месец
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
преди 1 месец
Andrew Lewis
7769774962
[Minor] Fix format of example setting (rspamd.com#736)
преди 1 месец
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
преди 1 месец
Vsevolod Stakhov
05636d9af8
[Minor] Deny zero length in regexp search functions
преди 1 месец
Vsevolod Stakhov
10577f1f79
[Fix] Fix inconsistent nesting in mime parts
We should do like MUAs do: imlicitly close incomplete mime parts
and treat them as ususal. It is weird and utterly stupid but that's
what MUA do.
Issue: #4740
Closes: #4740
преди 1 месец
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
преди 1 месец
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
преди 1 месец
Vsevolod Stakhov
8637480155
[Minor] Another similar `getline` fix
преди 1 месец
Vsevolod Stakhov
edc43a68f7
[Minor] Fix irrelevant issue with the `getline` invocation
преди 1 месец
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
преди 1 месец
Vsevolod Stakhov
a73a67f91d
[Fix] Fuzzy add/delete handlers are badly broken for compression
преди 1 месец
Vsevolod Stakhov
b606954ac3
[Minor] Use zstd compression by default in the client
No reasons why not to do it, as there are no supported versions without compression support
преди 2 месеца
Vsevolod Stakhov
bc1d4d92f5
[Feature] Use msgpack in the client
преди 2 месеца
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
преди 2 месеца
Vsevolod Stakhov
9b78be4f03
[Feature] Support reply in message pack format
Rspamd currently sends reply in JSON format. However, message pack seems to
be a better choice for a compatible client. It is faster and does not need
escaping or even UTF8 validation. This is a surface for further updates.
преди 2 месеца
Vsevolod Stakhov
a4de9b2ebb
[Rework] Another rework of the dkim signing logic
преди 2 месеца
Vsevolod Stakhov
3de247b318
[Rework] Allow multiple conditions for dkim signing when using vault/redis
преди 2 месеца
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
преди 2 месеца
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
преди 2 месеца
Vsevolod Stakhov
0e1c723643
[Feature] Further optimization to the hot path
We check userdata very frequently, so the idea here is the following:
- Store the address of classname (converted to int) in the metatable at index 1
- When we need to check some udata, we can just compare the static address with
the integer stored in metatable
- This avoid quite an expensive `lua_rawequal` call for two tables as we know that
our classes are quite static
преди 2 месеца
Vsevolod Stakhov
bcd36f7959
[Rework] Rework dynamic usage
преди 2 месеца