twesterhever
60499c0563
Revert "[Enhancement] Implement Message-ID RHS checks against DNSBLs"
This reverts commit 5e84a82f87
.
6 days ago
twesterhever
5e84a82f87
[Enhancement] Implement Message-ID RHS checks against DNSBLs
1 month ago
aduernberger
26f96b81fd
[Fix] Increase/decrease hash_key value for tokens depending on is_unlearn
When relearning a message, this script is called twice:
1. With `is_unlearn` true and the old `is_spam` value
2. With `is_unlearn` false and the new `is_spam` value
If `is_unlearn` is true, the code should not increase the value of the hash_key. Decreasing it ensures that it behaves like a fresh learn with the new is_spam value.
2 weeks ago
aduernberger
ccc1716bb5
[Fix] Update is_spam in learned_ids when relearning
2 weeks ago
Lucas Rolff
104cf0cfd7
[Minor] Move hostname resolution up to cache it
Instead of calling get_hostname() for every processed message, we instead reuse the variable value from rspamd boot time
2 weeks ago
Lucas Rolff
458e980062
[Minor] Add selector to get rspamd_hostname
2 weeks ago
Andrew Lewis
f824108f9e
[Minor] Cloudmark scores_symbols: convert keys to numeric values
3 weeks ago
Vsevolod Stakhov
6fe4df00d6
[Minor] Fix some corner cases
1 month ago
Vsevolod Stakhov
3737999bbc
[Feature] Cloudmark: Add scores_symbols setting
1 month ago
Vsevolod Stakhov
cd0be13b20
[Feature] Allow adding X-CMAE-Score header
1 month ago
Vsevolod Stakhov
87f77fb0c7
[Minor] Grr, reverse
1 month ago
Vsevolod Stakhov
149e4cccf3
[Fix] Fix parsing of maps definitions
1 month ago
Vsevolod Stakhov
a4de9b2ebb
[Rework] Another rework of the dkim signing logic
1 month ago
Vsevolod Stakhov
3de247b318
[Rework] Allow multiple conditions for dkim signing when using vault/redis
1 month ago
Vsevolod Stakhov
db0911cdb4
[Minor] Improve logging when doing signing via Vault
Issue: #4865
1 month ago
Vsevolod Stakhov
ef35949188
[Fix] Change expiration logic for redis_cache
Noticed by: @jeremy
1 month ago
Vsevolod Stakhov
642ca8c3a4
[Minor] Escape liquid
2 months ago
Vsevolod Stakhov
33c00d4502
[Fix] Avoid stupid practice of polluting module's internal state
2 months ago
Vsevolod Stakhov
7b5b413b40
[Rework] Allow custom filters in `jinja_template`
2 months ago
Vsevolod Stakhov
269243987f
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
2 months ago
Vsevolod Stakhov
923a70bbce
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
2 months ago
Vsevolod Stakhov
50e9652789
[Fix] Fix history key, as we use `{=` and not `{{` in templates
2 months ago
Vsevolod Stakhov
e509f85e28
[Minor] Support keepalive and authorization
3 months ago
Vsevolod Stakhov
fda5af53e8
[Minor] Proper header name
3 months ago
Vsevolod Stakhov
43c789659c
[Minor] KAS: add source ip information
3 months ago
Vsevolod Stakhov
500fac7fd7
[Fix] Resolve issue with bayes stat in `rspamadm` mode
3 months ago
Andrew Lewis
e8a24a2ac4
[Minor] configwizard: really use LOCAL_CONFDIR
3 months ago
Alexander Moisseev
c8452b009d
[Rework] Breaking: Do not report module as action
in the /history response since we have the `passthrough_module` key
for that purpose.
While that might be handy in some situations,
mixing actions and module names is confusing in general.
3 months ago
Vsevolod Stakhov
04f6599ad7
[Minor] Add fail-safety
3 months ago
Andrew Lewis
1ea7a0b88c
[Minor] rbl: fix warning
3 months ago
Vsevolod Stakhov
66cc2d3d88
[Fix] Fix storing of the bayes tokens
3 months ago
Petr Vaněk
0805aace80
[Minor] Fix typo in comment
3 months ago
Petr Vaněk
aaf4373418
[Fix] Use short comments rather than long one
Rspamd fails to start with Lua-5.1 because long comment does not allow
nesting, see [1]. This change replaces it to short comments in order to
fix the issue but preserves this part as comment in docs.
[1] https://www.lua.org/manual/5.1/manual.html#7.1
Bug: https://bugs.gentoo.org/922522
Fixes: b189c9fea6
("[Minor] lua_maps docs: apply formatting")
Fixes: https://github.com/rspamd/rspamd/issues/4784
3 months ago
Vsevolod Stakhov
a00c667b4c
[Minor] Remove special handling
3 months ago
Vsevolod Stakhov
da42b91ec3
[Project] Some more work with regard to configuration
3 months ago
Vsevolod Stakhov
c2fd943dc8
[Project] Final things on redis cache rework
3 months ago
Vsevolod Stakhov
903b60db99
[Project] Add cache config
3 months ago
Vsevolod Stakhov
7b9dd286ea
[Minor] Fix scripts invocation
3 months ago
Vsevolod Stakhov
7541d281d3
[Project] Initial implementation of the lua counterpart
3 months ago
Vsevolod Stakhov
48bfe90186
[Minor] Rework redis servers config parsing
3 months ago
Vsevolod Stakhov
6d0cfe35ab
[Project] Implement text tokens storage on C++ side
4 months ago
Vsevolod Stakhov
38244b721b
[Project] Add store tokens support in new bayes learn
4 months ago
Andrew Lewis
84ee2815a5
[Minor] rbl: revisit previous change
4 months ago
Vsevolod Stakhov
65477c3064
[Project] Try to do strings concatenation in C
4 months ago
Andrew Lewis
fb53d4f2fd
[Minor] rbl: try harder to identify lua patterns
4 months ago
Andrew Lewis
d06fc3bea3
[Feature] rbl: support disabling or replacing url_whitelist per RBL
4 months ago
Andrew Lewis
4da87a5cda
[Minor] Have bayes use global redis settings
4 months ago
Vsevolod Stakhov
a639c5fae0
[Minor] Fix learned stats
4 months ago
Vsevolod Stakhov
b11f8216f0
[Project] Add some stats
4 months ago
Vsevolod Stakhov
cd568d7085
[Project] Various fixes
4 months ago