]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years agoFix disabling symbols 3998/head
Jean-Louis Dupond [Mon, 29 Nov 2021 14:53:47 +0000 (15:53 +0100)]
Fix disabling symbols

If enabled = false, then we should set RSPAMD_SYMBOL_FLAG_DISABLED.
Now setting enabled = true sets RSPAMD_SYMBOL_FLAG_DISABLED. Which is
incorrect.

2 years ago[Test] Improve envelope stuff testing
Vsevolod Stakhov [Sun, 28 Nov 2021 12:23:06 +0000 (12:23 +0000)]
[Test] Improve envelope stuff testing

2 years ago[Minor] Fix task:set_recipients when the original recipients are absent
Vsevolod Stakhov [Sun, 28 Nov 2021 12:16:53 +0000 (12:16 +0000)]
[Minor] Fix task:set_recipients when the original recipients are absent

2 years ago[Test] Fix tests
Vsevolod Stakhov [Sat, 27 Nov 2021 14:57:35 +0000 (14:57 +0000)]
[Test] Fix tests

2 years ago[Feature] Lua_mime: Add schema for message transfer
Vsevolod Stakhov [Sat, 27 Nov 2021 14:57:20 +0000 (14:57 +0000)]
[Feature] Lua_mime: Add schema for message transfer

2 years ago[Minor] Lua_mime: Flatten headers array
Vsevolod Stakhov [Sat, 27 Nov 2021 14:21:08 +0000 (14:21 +0000)]
[Minor] Lua_mime: Flatten headers array

2 years agoMerge pull request #3994 from MrKrisKrisu/dev-ks-mimepgp
Vsevolod Stakhov [Fri, 26 Nov 2021 14:45:30 +0000 (14:45 +0000)]
Merge pull request #3994 from MrKrisKrisu/dev-ks-mimepgp

Add application/pgp-keys to known mime types

2 years ago[Minor] Phishing: Fix confusing scoring
Vsevolod Stakhov [Thu, 25 Nov 2021 15:34:04 +0000 (15:34 +0000)]
[Minor] Phishing: Fix confusing scoring

2 years ago[Fix] Phishing: Fix finding domains in the phishing map
Vsevolod Stakhov [Thu, 25 Nov 2021 15:33:48 +0000 (15:33 +0000)]
[Fix] Phishing: Fix finding domains in the phishing map

2 years agoAdd application/pgp-keys to known mime types 3994/head
Kristian Stöckel [Thu, 25 Nov 2021 14:50:18 +0000 (15:50 +0100)]
Add application/pgp-keys to known mime types

2 years ago[Minor] Pet luacheck temporarily
Vsevolod Stakhov [Thu, 25 Nov 2021 11:06:39 +0000 (11:06 +0000)]
[Minor] Pet luacheck temporarily

2 years ago[Feature] Add public suffic compilation utility
Vsevolod Stakhov [Thu, 25 Nov 2021 11:01:21 +0000 (11:01 +0000)]
[Feature] Add public suffic compilation utility

Issue: #3984

2 years ago[Test] Oops, add a missing require
Vsevolod Stakhov [Wed, 24 Nov 2021 20:52:20 +0000 (20:52 +0000)]
[Test] Oops, add a missing require

2 years ago[Test] Add unit test for message to ucl function
Vsevolod Stakhov [Wed, 24 Nov 2021 20:45:27 +0000 (20:45 +0000)]
[Test] Add unit test for message to ucl function

2 years ago[Test] One more fix
Vsevolod Stakhov [Wed, 24 Nov 2021 17:55:04 +0000 (17:55 +0000)]
[Test] One more fix

2 years ago[Test] Add a simple config helper for the unit tests
Vsevolod Stakhov [Wed, 24 Nov 2021 09:45:52 +0000 (09:45 +0000)]
[Test] Add a simple config helper for the unit tests

2 years ago[Minor] Slightly rework the table filling
Vsevolod Stakhov [Wed, 24 Nov 2021 09:35:56 +0000 (09:35 +0000)]
[Minor] Slightly rework the table filling

2 years agoMerge pull request #3991 from bradleydoherty59/structured_message_envelope_info
Vsevolod Stakhov [Tue, 23 Nov 2021 23:50:59 +0000 (23:50 +0000)]
Merge pull request #3991 from bradleydoherty59/structured_message_envelope_info

[Minor] Store Envelope (SMTP) information on structured task.

2 years ago[Minor] Remove redundent MIME from/recipients. Add from_ip. 3991/head
bradleydoherty59 [Tue, 23 Nov 2021 22:34:59 +0000 (16:34 -0600)]
[Minor] Remove redundent MIME from/recipients. Add from_ip.

2 years ago[Minor] Store Envelope (SMTP) information on structured task as task.envelope.
bradleydoherty59 [Tue, 23 Nov 2021 22:22:19 +0000 (16:22 -0600)]
[Minor] Store Envelope (SMTP) information on structured task as task.envelope.

2 years ago[Minor] Reduce log noise for `exists` macro in SPF
Vsevolod Stakhov [Tue, 23 Nov 2021 12:23:02 +0000 (12:23 +0000)]
[Minor] Reduce log noise for `exists` macro in SPF

2 years agoMerge pull request #3988 from cpragadeesh/test_fix
Vsevolod Stakhov [Tue, 23 Nov 2021 07:02:37 +0000 (07:02 +0000)]
Merge pull request #3988 from cpragadeesh/test_fix

[Test] Fix neural plugin tests

3 years ago[Test] Fix neural plugin tests 3988/head
Pragadeesh Chandiran [Mon, 22 Nov 2021 23:19:12 +0000 (18:19 -0500)]
[Test] Fix neural plugin tests

3 years ago[Minor] Increase log severity of some of the SPF errors
Vsevolod Stakhov [Mon, 22 Nov 2021 21:17:00 +0000 (21:17 +0000)]
[Minor] Increase log severity of some of the SPF errors

3 years ago[Minor] Write SPF digest even if it is not cached
Vsevolod Stakhov [Mon, 22 Nov 2021 16:56:28 +0000 (16:56 +0000)]
[Minor] Write SPF digest even if it is not cached

3 years ago[Minor] Fix data flow
Vsevolod Stakhov [Mon, 22 Nov 2021 11:01:49 +0000 (11:01 +0000)]
[Minor] Fix data flow

3 years ago[Minor] Fix test stage
Vsevolod Stakhov [Sun, 21 Nov 2021 16:45:49 +0000 (16:45 +0000)]
[Minor] Fix test stage

3 years ago[Minor] Mx check: Add wait_for_greeting option
Vsevolod Stakhov [Sun, 21 Nov 2021 16:36:26 +0000 (16:36 +0000)]
[Minor] Mx check: Add wait_for_greeting option

Issue: #3966

3 years ago[Minor] Mx check: Emit quit command
Vsevolod Stakhov [Sun, 21 Nov 2021 16:33:41 +0000 (16:33 +0000)]
[Minor] Mx check: Emit quit command

Issue: #3966

3 years ago[Minor] Remove unused option
Vsevolod Stakhov [Sun, 21 Nov 2021 16:19:10 +0000 (16:19 +0000)]
[Minor] Remove unused option

3 years ago[Minor] Remove obsolete WITH_HIREDIS define
Vsevolod Stakhov [Sat, 20 Nov 2021 22:18:45 +0000 (22:18 +0000)]
[Minor] Remove obsolete WITH_HIREDIS define

3 years ago[Fix] Rbl: Fix inversed logic of the url_full_hostname
Vsevolod Stakhov [Fri, 19 Nov 2021 20:30:06 +0000 (20:30 +0000)]
[Fix] Rbl: Fix inversed logic of the url_full_hostname

3 years ago[Minor] Treat empty `from` protocol header as canonical `<>`
Vsevolod Stakhov [Fri, 19 Nov 2021 14:46:11 +0000 (14:46 +0000)]
[Minor] Treat empty `from` protocol header as canonical `<>`

Issue: #3983

3 years ago[Minor] Add safe-guard for the root tag
Vsevolod Stakhov [Fri, 19 Nov 2021 10:49:54 +0000 (10:49 +0000)]
[Minor] Add safe-guard for the root tag

3 years ago[Fix] Fix logic in HTML processing FSM
Vsevolod Stakhov [Fri, 19 Nov 2021 10:35:16 +0000 (10:35 +0000)]
[Fix] Fix logic in HTML processing FSM

3 years ago[Minor] Fix triggering of the suspicious url rule on percent encoding
Vsevolod Stakhov [Fri, 19 Nov 2021 09:53:49 +0000 (09:53 +0000)]
[Minor] Fix triggering of the suspicious url rule on percent encoding

3 years ago[Fix] Do not double call error handler on ssl errors in the timeout path
Vsevolod Stakhov [Thu, 18 Nov 2021 15:45:09 +0000 (15:45 +0000)]
[Fix] Do not double call error handler on ssl errors in the timeout path

3 years ago[Minor] Fix for old compilers
Vsevolod Stakhov [Thu, 18 Nov 2021 12:32:05 +0000 (12:32 +0000)]
[Minor] Fix for old compilers

3 years ago[Minor] Per luacheck when I'm here
Vsevolod Stakhov [Thu, 18 Nov 2021 11:48:45 +0000 (11:48 +0000)]
[Minor] Per luacheck when I'm here

3 years ago[Fix] Improve duplicate settings error reporting
Vsevolod Stakhov [Thu, 18 Nov 2021 11:47:27 +0000 (11:47 +0000)]
[Fix] Improve duplicate settings error reporting

Issue: #3957

3 years ago[Fix] Fix parsing of the compound mailto urls
Vsevolod Stakhov [Wed, 17 Nov 2021 21:54:30 +0000 (21:54 +0000)]
[Fix] Fix parsing of the compound mailto urls

3 years ago[Fix] Find suspicious url encodings that could break url extraction
Vsevolod Stakhov [Wed, 17 Nov 2021 21:48:00 +0000 (21:48 +0000)]
[Fix] Find suspicious url encodings that could break url extraction

3 years agoMerge pull request #3982 from fatalbanana/query_maps_json
Vsevolod Stakhov [Wed, 17 Nov 2021 14:36:37 +0000 (14:36 +0000)]
Merge pull request #3982 from fatalbanana/query_maps_json

[Feature] JSON endpoint for querying maps

3 years agoMerge pull request #3981 from moisseev/ip-width
Vsevolod Stakhov [Wed, 17 Nov 2021 14:35:29 +0000 (14:35 +0000)]
Merge pull request #3981 from moisseev/ip-width

[Minor] Set IP column min-width relative to font-size

3 years ago[Feature] JSON endpoint for querying maps 3982/head
Andrew Lewis [Wed, 17 Nov 2021 13:57:01 +0000 (15:57 +0200)]
[Feature] JSON endpoint for querying maps

3 years ago[Minor] Set IP column min-width relative to font-size 3981/head
moisseev [Wed, 17 Nov 2021 12:45:22 +0000 (15:45 +0300)]
[Minor] Set IP column min-width relative to font-size

3 years ago[Minor] Rbl: Add url_full_hostname option
Vsevolod Stakhov [Tue, 16 Nov 2021 17:14:53 +0000 (17:14 +0000)]
[Minor] Rbl: Add url_full_hostname option

3 years ago[Minor] Change error to the notice
Vsevolod Stakhov [Tue, 16 Nov 2021 10:08:06 +0000 (10:08 +0000)]
[Minor] Change error to the notice

With this change, Rspamd will no longer emit error codes on learn condition skipping.

Issue: #3956

3 years agoMerge pull request #3980 from cpragadeesh/roc_implementation
Vsevolod Stakhov [Mon, 15 Nov 2021 19:05:48 +0000 (19:05 +0000)]
Merge pull request #3980 from cpragadeesh/roc_implementation

[Feature] Add ROC based threshold estimation for neural network plugin

3 years ago[Minor] Update bundled fmt to 8.0.1
Vsevolod Stakhov [Mon, 15 Nov 2021 08:44:22 +0000 (08:44 +0000)]
[Minor] Update bundled fmt to 8.0.1

3 years ago[Feature] Add ROC feature to neural network plugin 3980/head
Pragadeesh Chandiran [Mon, 8 Nov 2021 05:13:04 +0000 (00:13 -0500)]
[Feature] Add ROC feature to neural network plugin

3 years agoRevert "[Minor] Disable eslint in CI"
Vsevolod Stakhov [Sun, 14 Nov 2021 21:10:03 +0000 (21:10 +0000)]
Revert "[Minor] Disable eslint in CI"

This reverts commit d970e1e7b4271dc6c852ea65a4aabd214ef9ea63.

3 years agoMerge pull request #3979 from moisseev/stylelint
Vsevolod Stakhov [Sun, 14 Nov 2021 21:10:16 +0000 (21:10 +0000)]
Merge pull request #3979 from moisseev/stylelint

[Test] Fix Stylelint

3 years ago[Test] Pet Stylelint 3979/head
moisseev [Sun, 14 Nov 2021 18:18:58 +0000 (21:18 +0300)]
[Test] Pet Stylelint

3 years ago[Test] Add PostCSS syntaxes for embedded styles
moisseev [Sun, 14 Nov 2021 17:39:52 +0000 (20:39 +0300)]
[Test] Add PostCSS syntaxes for embedded styles

(required since Stylelint 14.0.0)

3 years agoMerge pull request #3978 from yasuhirokimura/enable_pcre2_by_default
Vsevolod Stakhov [Sun, 14 Nov 2021 12:05:18 +0000 (12:05 +0000)]
Merge pull request #3978 from yasuhirokimura/enable_pcre2_by_default

Enable PCRE2 by default.

3 years agoEnable PCRE2 by default. 3978/head
Yasuhiro Kimura [Sun, 14 Nov 2021 08:18:09 +0000 (17:18 +0900)]
Enable PCRE2 by default.

There are 2 major versions of the PCRE library, PCRE and PCRE2. Rspamd
supports both and current default is the former. But according to the
web page of PCRE library it has reached its end of life. So change the
default to the latter.

3 years agoMerge pull request #3977 from moisseev/surbl
Vsevolod Stakhov [Fri, 12 Nov 2021 21:20:03 +0000 (21:20 +0000)]
Merge pull request #3977 from moisseev/surbl

[Conf] Set one_shot for URIBL rules by default

3 years ago[Minor] Allow headers addition if configured
Vsevolod Stakhov [Fri, 12 Nov 2021 21:18:49 +0000 (21:18 +0000)]
[Minor] Allow headers addition if configured

3 years ago[Minor] Add analysis logging
Vsevolod Stakhov [Fri, 12 Nov 2021 15:59:49 +0000 (15:59 +0000)]
[Minor] Add analysis logging

3 years ago[Minor] Allow to get the maximum message size
Vsevolod Stakhov [Fri, 12 Nov 2021 12:27:45 +0000 (12:27 +0000)]
[Minor] Allow to get the maximum message size

3 years ago[Minor] Allow to register preloads for external services
Vsevolod Stakhov [Fri, 12 Nov 2021 12:27:01 +0000 (12:27 +0000)]
[Minor] Allow to register preloads for external services

3 years ago[Conf] Set one_shot for URIBL rules by default 3977/head
moisseev [Fri, 12 Nov 2021 12:01:58 +0000 (15:01 +0300)]
[Conf] Set one_shot for URIBL rules by default

3 years ago[Minor] Add default score for cloudmark
Vsevolod Stakhov [Fri, 12 Nov 2021 11:56:20 +0000 (11:56 +0000)]
[Minor] Add default score for cloudmark

3 years agoMerge pull request #3976 from moisseev/cloudmark
Vsevolod Stakhov [Fri, 12 Nov 2021 11:16:51 +0000 (11:16 +0000)]
Merge pull request #3976 from moisseev/cloudmark

[Feature] Add support of Cloudmark

3 years ago[Feature] Add support of Cloudmark 3976/head
moisseev [Fri, 12 Nov 2021 10:36:57 +0000 (13:36 +0300)]
[Feature] Add support of Cloudmark

in the external services plugin

3 years agoMerge pull request #3974 from HeinleinSupport/fix/ratelimit
Vsevolod Stakhov [Thu, 11 Nov 2021 12:01:01 +0000 (12:01 +0000)]
Merge pull request #3974 from HeinleinSupport/fix/ratelimit

[Fix] ratelimit - symbol per bucket

3 years ago[Fix] Read file maps if they were not pre-read during preload
Vsevolod Stakhov [Thu, 11 Nov 2021 10:58:06 +0000 (10:58 +0000)]
[Fix] Read file maps if they were not pre-read during preload

3 years ago[Minor] Fix signing with `skip_process` flag
Vsevolod Stakhov [Thu, 11 Nov 2021 10:22:01 +0000 (10:22 +0000)]
[Minor] Fix signing with `skip_process` flag

3 years ago[Fix] ratelimit - symbol per bucket 3974/head
Carsten Rosenberg [Wed, 10 Nov 2021 22:32:32 +0000 (23:32 +0100)]
[Fix] ratelimit - symbol per bucket

3 years ago[Minor] Bimi: Add version to the path
Vsevolod Stakhov [Wed, 10 Nov 2021 21:06:29 +0000 (21:06 +0000)]
[Minor] Bimi: Add version to the path

3 years ago[Test] Fix automatic training tests
Vsevolod Stakhov [Wed, 10 Nov 2021 11:31:02 +0000 (11:31 +0000)]
[Test] Fix automatic training tests

3 years agoMerge pull request #3969 from HeinleinSupport/fix/lua_cfg_transform
Vsevolod Stakhov [Tue, 9 Nov 2021 17:06:17 +0000 (17:06 +0000)]
Merge pull request #3969 from HeinleinSupport/fix/lua_cfg_transform

[Fix] lua_cfg_transform - silly break breaks actions

3 years agoMerge pull request #3968 from cpragadeesh/avoid_duplicate_neural_rows
Vsevolod Stakhov [Tue, 9 Nov 2021 17:06:01 +0000 (17:06 +0000)]
Merge pull request #3968 from cpragadeesh/avoid_duplicate_neural_rows

[Minor] Prevent duplicate rows from being inserted into neural traini…

3 years agoMerge pull request #3967 from a16bitsysop/386
Vsevolod Stakhov [Tue, 9 Nov 2021 17:04:00 +0000 (17:04 +0000)]
Merge pull request #3967 from a16bitsysop/386

[Fix] Further fix for i386 compilation

3 years ago[Minor] Rework fuzzy blocking logic
Vsevolod Stakhov [Tue, 9 Nov 2021 13:23:18 +0000 (13:23 +0000)]
[Minor] Rework fuzzy blocking logic

3 years ago[Minor] Add potential workaround for the race condition
Vsevolod Stakhov [Tue, 9 Nov 2021 12:29:18 +0000 (12:29 +0000)]
[Minor] Add potential workaround for the race condition

3 years ago[Minor] Add IP information
Vsevolod Stakhov [Tue, 9 Nov 2021 08:39:38 +0000 (08:39 +0000)]
[Minor] Add IP information

3 years ago[Fix] lua_cfg_transform - silly break break actions 3969/head
Carsten Rosenberg [Mon, 8 Nov 2021 19:50:44 +0000 (20:50 +0100)]
[Fix] lua_cfg_transform - silly break break actions

3 years ago[Fix] Further fix for i386 compilation 3967/head
Duncan Bellamy [Sun, 7 Nov 2021 16:02:41 +0000 (16:02 +0000)]
[Fix] Further fix for i386 compilation

3 years ago[Minor] Fix flag name
Vsevolod Stakhov [Mon, 8 Nov 2021 15:48:51 +0000 (15:48 +0000)]
[Minor] Fix flag name

3 years ago[Minor] Limit x86_64 assembly to x86_64
Vsevolod Stakhov [Mon, 8 Nov 2021 08:41:26 +0000 (08:41 +0000)]
[Minor] Limit x86_64 assembly to x86_64

Issue: #3967

3 years ago[Minor] Prevent duplicate rows from being inserted into neural training set 3968/head
Pragadeesh Chandiran [Mon, 8 Nov 2021 06:33:24 +0000 (01:33 -0500)]
[Minor] Prevent duplicate rows from being inserted into neural training set

3 years ago[Project] BIMI: Fix helper integration issues
Vsevolod Stakhov [Sun, 7 Nov 2021 12:53:53 +0000 (12:53 +0000)]
[Project] BIMI: Fix helper integration issues

3 years ago[Minor] Allow to get a port for a specific upstream
Vsevolod Stakhov [Sun, 7 Nov 2021 12:49:50 +0000 (12:49 +0000)]
[Minor] Allow to get a port for a specific upstream

3 years agoMerge pull request #3965 from moisseev/wrap
Vsevolod Stakhov [Sun, 7 Nov 2021 12:08:28 +0000 (12:08 +0000)]
Merge pull request #3965 from moisseev/wrap

[WebUI] Wrap long IPv6 addresses

3 years ago[Feature] BIMI: Add preliminary version of the BIMI plugin
Vsevolod Stakhov [Sat, 6 Nov 2021 14:45:05 +0000 (14:45 +0000)]
[Feature] BIMI: Add preliminary version of the BIMI plugin

Issue: #3935

3 years ago[WebUI] Wrap long IPv6 addresses 3965/head
moisseev [Sat, 6 Nov 2021 12:41:53 +0000 (15:41 +0300)]
[WebUI] Wrap long IPv6 addresses

3 years ago[Fix] Restrict x86_64 assembly to x86_64
Vsevolod Stakhov [Sat, 6 Nov 2021 12:16:28 +0000 (12:16 +0000)]
[Fix] Restrict x86_64 assembly to x86_64

Issue: #3934

3 years ago[Minor] Avoid null dereference on error path
Vsevolod Stakhov [Fri, 5 Nov 2021 20:50:06 +0000 (20:50 +0000)]
[Minor] Avoid null dereference on error path

3 years ago[Minor] Store newlines type
Vsevolod Stakhov [Fri, 5 Nov 2021 19:55:04 +0000 (19:55 +0000)]
[Minor] Store newlines type

3 years agoMerge pull request #3964 from bradleydoherty59/configurable-s3-uri
Vsevolod Stakhov [Fri, 5 Nov 2021 19:44:59 +0000 (19:44 +0000)]
Merge pull request #3964 from bradleydoherty59/configurable-s3-uri

[Config] Allow configurable s3 urls

3 years ago[Config] Allow configurable s3 urls 3964/head
bradleydoherty59 [Fri, 5 Nov 2021 19:01:12 +0000 (14:01 -0500)]
[Config] Allow configurable s3 urls

3 years ago[Minor] Aws: Use enclosing boundary
Vsevolod Stakhov [Fri, 5 Nov 2021 14:59:37 +0000 (14:59 +0000)]
[Minor] Aws: Use enclosing boundary

3 years ago[Minor] Lua_mimepart: Add `get_enclosing_boundary` method
Vsevolod Stakhov [Fri, 5 Nov 2021 14:59:14 +0000 (14:59 +0000)]
[Minor] Lua_mimepart: Add `get_enclosing_boundary` method

3 years ago[Minor] Add boundary to the structured representation of the parts
Vsevolod Stakhov [Fri, 5 Nov 2021 14:24:00 +0000 (14:24 +0000)]
[Minor] Add boundary to the structured representation of the parts

3 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Thu, 4 Nov 2021 20:31:38 +0000 (20:31 +0000)]
[Minor] Pet luacheck

3 years agoMerge pull request #3960 from HeinleinSupport/lua_scanners/icap
Vsevolod Stakhov [Thu, 4 Nov 2021 20:22:36 +0000 (20:22 +0000)]
Merge pull request #3960 from HeinleinSupport/lua_scanners/icap

lua_scanners/icap

3 years agoMerge pull request #3959 from HeinleinSupport/fix/lua_cfg_transform
Vsevolod Stakhov [Thu, 4 Nov 2021 20:18:47 +0000 (20:18 +0000)]
Merge pull request #3959 from HeinleinSupport/fix/lua_cfg_transform

[Fix] lua_cfg_transform - actions without score (discard)

3 years agoMerge pull request #3958 from HeinleinSupport/lua_scanners/spamassassin
Vsevolod Stakhov [Thu, 4 Nov 2021 20:18:07 +0000 (20:18 +0000)]
Merge pull request #3958 from HeinleinSupport/lua_scanners/spamassassin

[Minor] external_services - spamassassin - fix result matching