Vsevolod Stakhov
9d44d461ab
[Minor] Erm, forgot one more place to debug
4 years ago
Vsevolod Stakhov
447681fc80
[Minor] Add more whitelists debugging
4 years ago
Vsevolod Stakhov
7457d466d9
Merge pull request #3343 from chkpnt/dschung/luacheck
[Minor] Pet luacheck
4 years ago
Vsevolod Stakhov
509109df4c
Merge pull request #3342 from chkpnt/dschung/fix-reject-mail-message
[Fix] Do not flag pre-result of virus scanners as least if action is reject
4 years ago
Gregor Dschung
7a55c51038
[Minor] Pet luacheck
4 years ago
Gregor Dschung
1b2b501ceb
[Fix] Do not flag pre-result of virus scanners as least if action is reject
fixes #3279
4 years ago
Jan Smutny
1795539829
rules/headers_checks.lua: add [ENV]FROM_INVALID
4 years ago
Jan Smutny
2367506006
rules/headers_checks.lua: make CHECK_FROM callback a bit more efficient
4 years ago
Vsevolod Stakhov
7f2cdca0bb
[Minor] Link libicu to replxx
4 years ago
Vsevolod Stakhov
e81fe0882d
Merge pull request #3336 from rm-minus-rf/master
[Feature] allow variables in force_actions messages
4 years ago
rm-minus-rf
00b2ecaa3b
[Minor] selectors: cleaner symbol extractor
'symbol' extractor returns a table
'to_ascii' transform can handle tables
4 years ago
Vsevolod Stakhov
892383a5a2
Merge pull request #3341 from jendis/fix_lua_api
[Minor] Improve lua api
4 years ago
Jan Smutny
acefdbe25a
src/lua/lua_util.c: remove unused function
4 years ago
Jan Smutny
d04d3d983d
[Rework] add alias util:parse_addr for util:parse_mail_address
4 years ago
Jan Smutny
3e85c63f09
[Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace where used
4 years ago
Jan Smutny
b45a93a58a
[Minor] complete comment part of util:parse_addr and util:parse_mail_address method
4 years ago
Jan Smutny
51a7730b1c
[Minor] complete doc part of task:get_from method
4 years ago
Vsevolod Stakhov
bdb0a52835
[Test] Enrich rbl tests
4 years ago
Vsevolod Stakhov
848ad88460
[Minor] Rbl: Fix log message
4 years ago
Vsevolod Stakhov
4f2b2d824f
[Minor] Libucl: Backport fixes
4 years ago
Vsevolod Stakhov
9941fa5193
[Minor] Rbl: Add whitelisting indication to the symbol's options
4 years ago
Vsevolod Stakhov
c0bcfaff59
[Minor] Allow to adjust symbols without score change
4 years ago
rm-minus-rf
e1e23ddef2
[Fix] add missing selector_cache declaration
4 years ago
rm-minus-rf
834279171c
[Feature] add queueid, uid, messageid and specific symbols to selectors
[Minor] use only selectors to fill vars in force_actions message
4 years ago
Vsevolod Stakhov
acc9a3ceaa
Merge pull request #3340 from chkpnt/patch-1
[Conf] Fix wrong comment in options.inc
4 years ago
Vsevolod Stakhov
e7b48149fc
[Minor] Selectors: Add ability to use base32 variants
4 years ago
Gregor Dschung
64004e36c1
[Conf] Fix wrong comment in options.inc
4 years ago
Vsevolod Stakhov
4efc7e1df9
[Minor] Clickhouse: Rework schema upload to make it more resilent
4 years ago
Vsevolod Stakhov
c6822d66ed
[Minor] Try to process images before text part heuristic
4 years ago
Vsevolod Stakhov
4068f84ca2
[Minor] Rspamadm: Add urls --full option
4 years ago
Vsevolod Stakhov
0609488580
[Minor] Allow 'default' to be the default result
4 years ago
Vsevolod Stakhov
0f1e8e07e0
[Minor] Support shadow results in lua task api
4 years ago
Vsevolod Stakhov
c4f9383a51
[Minor] Lua_task: Add table version and multi-results support for set_pre_result
4 years ago
Vsevolod Stakhov
5d7a33f313
[Minor] Add some missing types and docs to rspamd_lua_parse_table_arguments
4 years ago
Vsevolod Stakhov
b80e8b8477
[Project] Rework some more functions to work with shadow results
4 years ago
Vsevolod Stakhov
13724fefdc
Merge pull request #3332 from cgzones/compiler_new
Resolve various Compiler warnings
4 years ago
rm-minus-rf
0d13c724df
[Feature] allow variables in force_actions messages
See https://github.com/rspamd/rspamd/issues/3335 for details.
4 years ago
Vsevolod Stakhov
29f38bde30
[Minor] Correct deflate header detection
4 years ago
Vsevolod Stakhov
fe8df9944b
[Minor] Lua_content: Process xref objects and detect encryption there
4 years ago
Vsevolod Stakhov
592ededbbe
[Minor] Improve log message for inflate/deflate
4 years ago
Vsevolod Stakhov
250119fd00
Merge pull request #3331 from moisseev/patch-3
[Minor] Add image/x-ms-bmp CT
4 years ago
Christian Göttsche
b29b85055e
[Minor] Explicit specify order of binary operations
../contrib/libev/ev.c: In function ‘ev_io_start’:
../contrib/libev/ev.c:4396:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
4396 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
| ~~~~~~~~~~^~~~~~~~~~~~~
4 years ago
Christian Göttsche
7eb5d24c90
[Minor] Avoid nested opening comment sequences
../contrib/libev/ev.c: At top level:
../contrib/libev/ev.c:5660:27: warning: "/*" within comment [-Wcomment]
5660 | /* EV_STAT 0x00001000 /* stat data changed */
|
../contrib/libev/ev.c:5661:27: warning: "/*" within comment [-Wcomment]
5661 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */
|
4 years ago
Christian Göttsche
26e2a97b1c
[Minor] enable Wmissing-format-attribute
4 years ago
Christian Göttsche
765813e908
[Minor] silence warnings about unused function results
GCC does not respect `(void) func()`
4 years ago
Christian Göttsche
d6da3282ea
[Minor] Enable missing_noreturn compiler warning
4 years ago
Christian Göttsche
0eee052391
[Minor] Remove unused-but-set variables
../src/libserver/url.c: In function ‘rspamd_url_host_set_add’:
../src/libserver/url.c:3808:11: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
3808 | khiter_t k;
| ^
../src/lua/lua_task.c: In function ‘lua_task_has_urls’:
../src/lua/lua_task.c:2406:11: warning: variable ‘need_emails’ set but not used [-Wunused-but-set-variable]
2406 | gboolean need_emails = FALSE, ret = FALSE;
| ^~~~~~~~~~~
4 years ago
Christian Göttsche
11a64f8b09
[Minor] Print always IPO status
4 years ago
Christian Göttsche
68bf28b3a1
[Minor] move static keyword to beginning of function declarations
In file included from ../src/libserver/logger/logger_file.c:23:
../src/libserver/logger/logger_private.h:106:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
106 | const static struct rspamd_logger_funcs file_log_funcs = {
| ^~~~~
../src/libserver/logger/logger_private.h:130:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
130 | const static struct rspamd_logger_funcs syslog_log_funcs = {
| ^~~~~
../src/libserver/logger/logger_private.h:154:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
154 | const static struct rspamd_logger_funcs console_log_funcs = {
| ^~~~~
4 years ago
Alexander Moisseev
f4d44ad549
[Minor] Add image/x-ms-bmp CT
4 years ago