Andrew Lewis
ee665b05d5
[Minor] Minor fixes for previous ratelimit changes
11 months ago
Stephan Toggweiler
008b90e09d
[Fix] dmarc gramar - allow spaces before ";"
The ABNF in https://www.rfc-editor.org/rfc/rfc7489#section-6.4 define that its allowed to have spaces before ";"
11 months ago
Vsevolod Stakhov
42873dc110
[Minor] Lua_magic: Try to reduce fp rate for html heuristic
11 months ago
Jason Stephenson
2b7e6c87eb
Use the correct mime format for 7z
1 year ago
Vsevolod Stakhov
aa85bba867
[Fix] Try harder to clean pending bucket
Issue: #4467
1 year ago
Vsevolod Stakhov
a374596285
[Minor] Propagate on_load via Lua wrapper
1 year ago
Vsevolod Stakhov
d932fb8f52
[Minor] Show percentages
1 year ago
Vsevolod Stakhov
2b00750d9a
[Fix] More fixes to fuzzystat
1 year ago
Vsevolod Stakhov
860079f690
[Minor] Fix flags stat
1 year ago
Vsevolod Stakhov
3d4a4128fc
[Minor] Print flags stat
1 year ago
Vsevolod Stakhov
c222cf209d
[Minor] Pet luacheck
1 year ago
Vsevolod Stakhov
5bea1b1c63
[Minor] Fix key type in output
1 year ago
Vsevolod Stakhov
284b828a14
[Minor] Add `dnskey` type of output
Issue: #4429
1 year ago
Vsevolod Stakhov
1fb491d630
[Fix] Do not use `rspamadm.dkim_keygen`
1 year ago
Vsevolod Stakhov
a070e5a10a
[Feature] Finish all features of dkim_keygen in Lua
1 year ago
Vsevolod Stakhov
58bd6be3f7
[Rework] Write dkim keygen tool in lua
1 year ago
Andreas Simbuerger
092940ed5b
fix: avoid double-dip of nrcpt when calculating ratelimit condition
Before this commit, rspamd would consider the number of recipients of
the current message twice when calculating the ratelimit condition.
1 year ago
Vsevolod Stakhov
266daff34b
[Minor] Neural: Extract lua scripts
1 year ago
Vsevolod Stakhov
dc9b70f7c3
[Minor] Add some more comments as we now strip them
1 year ago
Vsevolod Stakhov
5d8aa83eb6
[Minor] Improve style in the scripts
1 year ago
Vsevolod Stakhov
0dd7203ee5
[Minor] Move redis scripts from ratelimit file to simplify checks
1 year ago
Vsevolod Stakhov
c3646183ac
[Minor] Load redis scripts from the prefix to simplify calls
1 year ago
Vsevolod Stakhov
3496dd3647
[Minor] Add a utility to join path components
1 year ago
Vsevolod Stakhov
3f5b2773a6
[Minor] Allow to load Redis script from a file
1 year ago
Vsevolod Stakhov
2265ed4109
[Minor] Add a simple function to strip Lua comments
1 year ago
dpetrov67
7797592bed
Fix support for global maps in lua_maps.lua
1 year ago
Vsevolod Stakhov
838f958170
[Fix] Fix usage of the Redis config schema as `extra_fields`
Issue: #4318
1 year ago
Vsevolod Stakhov
38600c02a1
[Minor] Use averages in fuzzystat
1 year ago
Vsevolod Stakhov
18030c9bbf
[Rework] Breaking: Do not report soft reject in history
We can have much more clear information if we store the real action in
case of `soft-reject`. In this case, we can just imply that a module
that has set this action is an action itself, such as:
* greylist
* ratelimit
* multimap
* antivirus rule name
This policy seems quite reasonable, as `soft reject` has no meaning on
its own.
1 year ago
Vsevolod Stakhov
3680254ecb
[Minor] Fuzzystat: Fix case of the options
1 year ago
Vsevolod Stakhov
aff665421f
[Minor] Fuzzystat: Allow to sort keys
1 year ago
Vsevolod Stakhov
52abb61a10
[Minor] Add --name parameter to keypair generation
1 year ago
Vsevolod Stakhov
3099e34276
[Minor] Show name if available
1 year ago
Vsevolod Stakhov
532701a530
[Fix] Rework lists applications
1 year ago
Vsevolod Stakhov
97e048959f
[Minor] Fix occasional damage
1 year ago
Vsevolod Stakhov
644f6cb438
[Minor] Fix arguments schema
1 year ago
Vsevolod Stakhov
623d10c48e
[Minor] Improve logging
1 year ago
Vsevolod Stakhov
2fed77b9c6
[Minor] Apply lua augmentations where available
1 year ago
Vsevolod Stakhov
c1d2d83652
[Minor] Avoid cyclic require - it doesn't work in Lua
1 year ago
Vsevolod Stakhov
b29fa2e81b
[Feature] Selectors: Add specific_urls_filter_map extractor
1 year ago
Vsevolod Stakhov
fe24cb2ef5
[Minor] Remove debug message
1 year ago
Vsevolod Stakhov
2b582c23dc
[Feature] Allow to specify `selector_alias` in the maps definition
1 year ago
Vsevolod Stakhov
6f8d6b19d2
[Feature] Some rework of the selectors framework
* Add `apply_methods` transform
* Rework userdata application of the transform functor
* Add more join methods
1 year ago
Vsevolod Stakhov
4dfcb9de86
[Minor] Fix `is_write` usage for freshly loaded scripts
1 year ago
Vsevolod Stakhov
9da50fb460
[Minor] Fix query for the external map case
1 year ago
Vsevolod Stakhov
f11009eaed
[Minor] Add `upstream` field
1 year ago
Vsevolod Stakhov
61a7a0dd1c
[Minor] Fix combine selectors functor
1 year ago
Vsevolod Stakhov
de2f7aa04e
[Minor] Add tests and fix some minor issues
1 year ago
Vsevolod Stakhov
5858739fec
[Minor] Fix tests and invocation
1 year ago
Vsevolod Stakhov
e6d344ee06
[Feature] Allow to build a map by combining tuples of selectors
1 year ago