]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years agoCheck gsize against G_MAXSIZE not ULLONG_MAX 3603/head
Christian Göttsche [Sat, 9 Jan 2021 13:25:46 +0000 (14:25 +0100)]
Check gsize against G_MAXSIZE not ULLONG_MAX

/builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c: In function 'rspamd_http_message_set_body':
/builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c:201:23: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  201 |   if (len != 0 && len != ULLONG_MAX) {
      |                       ^~
/builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c:230:23: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  230 |   if (len != 0 && len != ULLONG_MAX) {
      |                       ^~

3 years ago[Minor] Update version to 2.8
Vsevolod Stakhov [Fri, 8 Jan 2021 13:44:59 +0000 (13:44 +0000)]
[Minor] Update version to 2.8

3 years agoRelease 2.7 2.7
Vsevolod Stakhov [Fri, 8 Jan 2021 13:41:19 +0000 (13:41 +0000)]
Release 2.7

* [Conf] Add R_DKIM_PERMFAIL to the metric
* [CritFix] Dkim: Fix simple canonicalisation if multiple signatures are presented
* [CritFix] Fix controller paths normalisation
* [Feature] Add INVALID_DATE rule
* [Feature] Add controller endpoint for training neural
* [Feature] Add sanity checks for actions thresholds
* [Feature] Add support of '==' and '!=' in Rspamd expressions
* [Feature] Composites: Improve composite atoms parser
* [Feature] Docker: use Debian slim variant
* [Feature] Elastic: Add some missing fields
* [Feature] Extract text from img alt attributes
* [Feature] Improve charset detection logic
* [Feature] Lua_clickhouse: Add optional row callback for large selections
* [Feature] Lua_dns_resolver: Add idna_convert_utf8 method
* [Feature] Lua_mime: Add ability to do multipattern replacement
* [Feature] Lua_trie: Allow to report start of the match
* [Feature] Multimap: support adding map values as extra options
* [Feature] Neural: Move PCA learning to a subprocess
* [Feature] RBL: support matching content/image URLs only
* [Feature] RBL: support use of multiple selectors
* [Feature] Reputation: Allow to specify ip masks
* [Feature] Support SMIME signed messages container
* [Feature] Support multiple conditions for symbols
* [Feature] Support ping in milter mode
* [Feature] Support rspamd_text in selector regexps
* [Feature] Use own daemonization routine
* [Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade
* [Feature] `rspamadm clickhouse` command
* [Feature] allow hyperscan for aarch64
* [Fix] Allow to set priorities between post init scripts
* [Fix] Allow to use maps for strings that are not zero terminated
* [Fix] Apply max_lua_urls limit for emails as well
* [Fix] Arc: Fix CV check on signing
* [Fix] Arc: Fix signing of the broken ARC chains
* [Fix] Clickhouse: escape carriage return
* [Fix] Composites: Allow partial match
* [Fix] Deduct type of a table methods
* [Fix] Do not load errored hyperscan database
* [Fix] Do not process links in ignored html tags
* [Fix] Fix ClamAV result for cached encrypted file (#3395)
* [Fix] Fix canonicalisation when l= tag is presented
* [Fix] Fix flag shift
* [Fix] Fix handling of skip/skip_process http flags
* [Fix] Fix html attachments checks
* [Fix] Fix issue with pushing binary formats to Lua strings
* [Fix] Fix logging for rspamadm
* [Fix] Fix off-by-one with init check
* [Fix] Fix parsing of escape characters in quoted pairs
* [Fix] Fix pushing ucl strings with \0 inside
* [Fix] Fix quoted-printable soft newlines bugged case
* [Fix] Fix settings in case actions are set to null (#3415)
* [Fix] Fix several issues with auth results producing
* [Fix] Fix smtp comments exclusion
* [Fix] Fix smtp date syntax definition
* [Fix] Fix substring search in case if srchlen == inlen
* [Fix] Fix text selectors
* [Fix] Honour `systemd` setting when logging to console (#3514)
* [Fix] Html: Add entities collisions prevention logic (e.g. for mathml entities)
* [Fix] Lua_auth_results: Quote potentially bad values in AR header
* [Fix] Multimap: Fix flags usage
* [Fix] Multimap: Fix scoring for combined maps
* [Fix] Plug GList * leak in redis pool
* [Fix] RBL: allow for multiple matches of the same label if types are different
* [Fix] Rely on libev checks for file maps
* [Fix] Restore simple dkim canonicalisation mode
* [Fix] Return MimeCharset as we work with emails...
* [Fix] Spamassassin: Fix pcre_only flags
* [Fix] Spamassassin: Preserve 'pcre_only' flag when dealing with regexp replacements
* [Fix] Try to fix GError leak
* [Fix] Try to fix a mess with settings loading by adding priorities
* [Fix] Try to move setings initialisation to a later stage
* [Fix] Use dup fd in milter handler to avoid races with the proxy
* [Fix] Use message pointer to avoid obsolete data to be cached
* [Project] Rbl: Migrate to `checks`
* [Project] Rbl: Move config code outside of the plugin
* [Project] Ressurect empty prefilters as connection filters
* [Project] Support connection filters registration from Lua
* [Rework] Add final cleanup logic
* [Rework] Add preliminary support of hyperscan caching for re maps
* [Rework] Add stale cache removal
* [Rework] Clickhouse: Improve performance
* [Rework] Distinguish between strict config test mode
* [Rework] Furhter logging improvements
* [Rework] Milter_headers: improve extended_headers_rcpt support
* [Rework] Move parsers to a separate lua library
* [Rework] Neural: Skip composite symbols
* [Rework] Rbl: Rework defaults logic
* [Rework] Some tunes to cache saving
* [Rework] Track maps origins
* [Rework] Use full crypto hash for regexp maps
* [Rules] Remove broken rule

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
3 years ago[Conf] Add R_DKIM_PERMFAIL to the metric
Vsevolod Stakhov [Fri, 8 Jan 2021 12:03:28 +0000 (12:03 +0000)]
[Conf] Add R_DKIM_PERMFAIL to the metric

3 years agoMerge pull request #3598 from HeinleinSupport/force_actions_no_bypass
Vsevolod Stakhov [Thu, 7 Jan 2021 19:54:28 +0000 (19:54 +0000)]
Merge pull request #3598 from HeinleinSupport/force_actions_no_bypass

force_actions - maybe disable current action bypass

3 years agoMerge pull request #3597 from HeinleinSupport/lua_scanners/spamassassin
Vsevolod Stakhov [Thu, 7 Jan 2021 19:53:08 +0000 (19:53 +0000)]
Merge pull request #3597 from HeinleinSupport/lua_scanners/spamassassin

[Minor] external_services - spamassassin - result matching

3 years ago[Minor] force_actions - maybe disable current action bypass 3598/head
Carsten Rosenberg [Thu, 7 Jan 2021 18:15:27 +0000 (19:15 +0100)]
[Minor] force_actions - maybe disable current action bypass

3 years ago[Minor] force_actions - remove current action bypass
Carsten Rosenberg [Thu, 7 Jan 2021 18:08:15 +0000 (19:08 +0100)]
[Minor] force_actions - remove current action bypass

3 years ago[Minor] external_services - spamassassin - result matching 3597/head
Carsten Rosenberg [Thu, 7 Jan 2021 17:45:45 +0000 (18:45 +0100)]
[Minor] external_services - spamassassin - result matching

thx to Marc Dierksen

3 years ago[Minor] Try to silence intentional leak for sigaltstack
Vsevolod Stakhov [Thu, 7 Jan 2021 16:02:59 +0000 (16:02 +0000)]
[Minor] Try to silence intentional leak for sigaltstack

3 years ago[Minor] Plug memory leak in arc seal verify
Vsevolod Stakhov [Thu, 7 Jan 2021 15:56:37 +0000 (15:56 +0000)]
[Minor] Plug memory leak in arc seal verify

3 years ago[Fix] Plug GList * leak in redis pool
Vsevolod Stakhov [Thu, 7 Jan 2021 15:53:59 +0000 (15:53 +0000)]
[Fix] Plug GList * leak in redis pool

3 years ago[Minor] Make sanitizer optional
Vsevolod Stakhov [Thu, 7 Jan 2021 15:53:45 +0000 (15:53 +0000)]
[Minor] Make sanitizer optional

3 years ago[Minor] Remove redundant strdup
Vsevolod Stakhov [Thu, 7 Jan 2021 11:04:08 +0000 (11:04 +0000)]
[Minor] Remove redundant strdup

3 years ago[Fix] Do not process links in ignored html tags
Vsevolod Stakhov [Wed, 6 Jan 2021 19:49:23 +0000 (19:49 +0000)]
[Fix] Do not process links in ignored html tags

3 years ago[Feature] Extract text from img alt attributes
Vsevolod Stakhov [Wed, 6 Jan 2021 19:37:57 +0000 (19:37 +0000)]
[Feature] Extract text from img alt attributes

3 years ago[Fix] Fix logging for rspamadm
Vsevolod Stakhov [Wed, 6 Jan 2021 19:18:40 +0000 (19:18 +0000)]
[Fix] Fix logging for rspamadm

3 years ago[Minor] Plug leak on error path
Vsevolod Stakhov [Wed, 6 Jan 2021 16:28:34 +0000 (16:28 +0000)]
[Minor] Plug leak on error path

3 years ago[Fix] Try to fix GError leak
Vsevolod Stakhov [Wed, 6 Jan 2021 16:28:24 +0000 (16:28 +0000)]
[Fix] Try to fix GError leak

3 years ago[Minor] Plug minor leak
Vsevolod Stakhov [Tue, 5 Jan 2021 20:19:12 +0000 (20:19 +0000)]
[Minor] Plug minor leak

3 years ago[Minor] DCC: Fix plugin callback type
Vsevolod Stakhov [Mon, 4 Jan 2021 19:08:11 +0000 (19:08 +0000)]
[Minor] DCC: Fix plugin callback type

Issue: #3594

3 years ago[Minor] Lua_magic: Minor changes
Vsevolod Stakhov [Mon, 4 Jan 2021 16:10:02 +0000 (16:10 +0000)]
[Minor] Lua_magic: Minor changes

3 years agoMerge pull request #3595 from fatalbanana/exe_heuristic
Vsevolod Stakhov [Mon, 4 Jan 2021 16:00:11 +0000 (16:00 +0000)]
Merge pull request #3595 from fatalbanana/exe_heuristic

[Minor] Magic: try avoid false positive exe detection

3 years ago[Minor] Add a small protection against bad characters in symbols
Vsevolod Stakhov [Mon, 4 Jan 2021 14:44:06 +0000 (14:44 +0000)]
[Minor] Add a small protection against bad characters in symbols

3 years ago[Minor] Magic: try avoid false positive exe detection 3595/head
Andrew Lewis [Mon, 4 Jan 2021 11:41:04 +0000 (13:41 +0200)]
[Minor] Magic: try avoid false positive exe detection

3 years ago[Feature] Add support of '==' and '!=' in Rspamd expressions
Vsevolod Stakhov [Mon, 4 Jan 2021 10:11:55 +0000 (10:11 +0000)]
[Feature] Add support of '==' and '!=' in Rspamd expressions

3 years agoUpdate AUTHORS.md
Vsevolod Stakhov [Fri, 1 Jan 2021 18:41:36 +0000 (18:41 +0000)]
Update AUTHORS.md

3 years agoMerge pull request #3588 from a16bitsysop/hyperscan
Vsevolod Stakhov [Thu, 31 Dec 2020 17:15:11 +0000 (17:15 +0000)]
Merge pull request #3588 from a16bitsysop/hyperscan

[Feature] allow hyperscan for aarch64

3 years ago[Minor] Remove assertions as sometimes neural exists without settings...
Vsevolod Stakhov [Wed, 30 Dec 2020 17:59:57 +0000 (17:59 +0000)]
[Minor] Remove assertions as sometimes neural exists without settings...

3 years ago[Fix] Try to fix a mess with settings loading by adding priorities
Vsevolod Stakhov [Wed, 30 Dec 2020 17:23:51 +0000 (17:23 +0000)]
[Fix] Try to fix a mess with settings loading by adding priorities

3 years ago[Fix] Allow to set priorities between post init scripts
Vsevolod Stakhov [Wed, 30 Dec 2020 17:23:31 +0000 (17:23 +0000)]
[Fix] Allow to set priorities between post init scripts

3 years ago[Minor] Add fail-safety for settings post load
Vsevolod Stakhov [Wed, 30 Dec 2020 17:00:52 +0000 (17:00 +0000)]
[Minor] Add fail-safety for settings post load

3 years ago[Test] Fix test
Vsevolod Stakhov [Wed, 30 Dec 2020 15:43:39 +0000 (15:43 +0000)]
[Test] Fix test

3 years agoMerge pull request #3589 from a16bitsysop/compiler-warnings
Vsevolod Stakhov [Tue, 29 Dec 2020 23:28:46 +0000 (23:28 +0000)]
Merge pull request #3589 from a16bitsysop/compiler-warnings

[Minor] Fix some compiler warnings

3 years ago[Minor] Fix some compiler warnings 3589/head
Duncan Bellamy [Sun, 27 Dec 2020 22:41:12 +0000 (22:41 +0000)]
[Minor] Fix some compiler warnings

3 years ago[Feature] allow hyperscan for aarch64 3588/head
Duncan Bellamy [Sun, 27 Dec 2020 22:36:02 +0000 (22:36 +0000)]
[Feature] allow hyperscan for aarch64

3 years ago[Minor] Another try to deal with symbols from settings
Vsevolod Stakhov [Mon, 28 Dec 2020 21:11:41 +0000 (21:11 +0000)]
[Minor] Another try to deal with symbols from settings

Need to handle allowed ids as well

3 years ago[Minor] Fix crash on non resolving virtual dependency
Vsevolod Stakhov [Mon, 28 Dec 2020 21:07:45 +0000 (21:07 +0000)]
[Minor] Fix crash on non resolving virtual dependency

3 years ago[Fix] Try to move setings initialisation to a later stage
Vsevolod Stakhov [Mon, 28 Dec 2020 20:39:43 +0000 (20:39 +0000)]
[Fix] Try to move setings initialisation to a later stage

3 years agoMerge pull request #3586 from J0WI/patch-2
Vsevolod Stakhov [Mon, 28 Dec 2020 14:23:21 +0000 (14:23 +0000)]
Merge pull request #3586 from J0WI/patch-2

[Feature] Docker: use Debian slim variant

3 years ago[Minor] Allow to load config with no controller defined
Vsevolod Stakhov [Sun, 27 Dec 2020 21:02:39 +0000 (21:02 +0000)]
[Minor] Allow to load config with no controller defined

3 years agoMerge pull request #3585 from J0WI/patch-1
Vsevolod Stakhov [Sun, 27 Dec 2020 19:33:55 +0000 (19:33 +0000)]
Merge pull request #3585 from J0WI/patch-1

[Minor] Docker: use apt-transport-https

3 years ago[Rework] Distinguish between strict config test mode
Vsevolod Stakhov [Sat, 26 Dec 2020 23:27:49 +0000 (23:27 +0000)]
[Rework] Distinguish between strict config test mode

3 years ago[Feature] Docker: use Debian slim variant 3586/head
J0WI [Fri, 25 Dec 2020 15:38:59 +0000 (15:38 +0000)]
[Feature] Docker: use Debian slim variant

3 years ago[Minor] Docker: use apt-transport-https 3585/head
J0WI [Fri, 25 Dec 2020 15:31:32 +0000 (15:31 +0000)]
[Minor] Docker: use apt-transport-https

3 years ago[Minor] Optimize the common case + fix signed char
Vsevolod Stakhov [Fri, 25 Dec 2020 14:01:41 +0000 (14:01 +0000)]
[Minor] Optimize the common case + fix signed char

3 years ago[Minor] Escape log lines in logger
Vsevolod Stakhov [Fri, 25 Dec 2020 13:47:47 +0000 (13:47 +0000)]
[Minor] Escape log lines in logger

3 years agoMerge pull request #3583 from rpv-tomsk/master
Vsevolod Stakhov [Thu, 24 Dec 2020 14:02:28 +0000 (14:02 +0000)]
Merge pull request #3583 from rpv-tomsk/master

Fix some typos in code comments

3 years ago[Minor] Add fallback
Vsevolod Stakhov [Wed, 23 Dec 2020 18:27:08 +0000 (18:27 +0000)]
[Minor] Add fallback

3 years ago[Feature] Improve charset detection logic
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:40 +0000 (18:24 +0000)]
[Feature] Improve charset detection logic

3 years ago[Fix] Return MimeCharset as we work with emails...
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:18 +0000 (18:24 +0000)]
[Fix] Return MimeCharset as we work with emails...

3 years ago[Minor] Skip double utf8 checks
Vsevolod Stakhov [Wed, 23 Dec 2020 17:48:34 +0000 (17:48 +0000)]
[Minor] Skip double utf8 checks

3 years ago[Minor] Fix lifetime
Vsevolod Stakhov [Wed, 23 Dec 2020 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix lifetime

This is a reason why I hate C

3 years agoFix typos in code comments 3583/head
Pavel Rochnyack [Wed, 23 Dec 2020 03:45:33 +0000 (10:45 +0700)]
Fix typos in code comments

3 years ago[Minor] Fix spf record dump
Vsevolod Stakhov [Tue, 22 Dec 2020 21:05:11 +0000 (21:05 +0000)]
[Minor] Fix spf record dump

3 years ago[Minor] Add a path test
Vsevolod Stakhov [Tue, 22 Dec 2020 17:23:59 +0000 (17:23 +0000)]
[Minor] Add a path test

3 years ago[CritFix] Fix controller paths normalisation
Vsevolod Stakhov [Tue, 22 Dec 2020 17:23:11 +0000 (17:23 +0000)]
[CritFix] Fix controller paths normalisation

It fixes errors like 'rspamd_controller_handle_lua_plugin: plugin handler
/plugins/selectors/list_extractorstors has not been found'

3 years ago[Minor] Fix missing comma
Vsevolod Stakhov [Tue, 22 Dec 2020 16:02:36 +0000 (16:02 +0000)]
[Minor] Fix missing comma

3 years agoMerge pull request #3582 from citrin/x-mailer-rules
Vsevolod Stakhov [Tue, 22 Dec 2020 15:52:20 +0000 (15:52 +0000)]
Merge pull request #3582 from citrin/x-mailer-rules

[Rules] X-Mailer rules update

3 years ago[Minor] Lua_task: Simplify has_header method
Vsevolod Stakhov [Tue, 22 Dec 2020 15:50:47 +0000 (15:50 +0000)]
[Minor] Lua_task: Simplify has_header method

3 years agoMerge pull request #3581 from citrin/has-header
Vsevolod Stakhov [Tue, 22 Dec 2020 15:47:49 +0000 (15:47 +0000)]
Merge pull request #3581 from citrin/has-header

[Minor] Use task:has_header instead of task:get_header

3 years ago[Minor] Use less strict rules for pkcs7 detection
Vsevolod Stakhov [Tue, 22 Dec 2020 15:46:27 +0000 (15:46 +0000)]
[Minor] Use less strict rules for pkcs7 detection

Issue: #3568

3 years ago[Minor] Add rule for forged X-Mailer: Internet Mail Service 3582/head
Anton Yuzhaninov [Tue, 22 Dec 2020 13:40:40 +0000 (13:40 +0000)]
[Minor] Add rule for forged X-Mailer: Internet Mail Service

3 years ago[Minor] Add {header} for header regexps
Anton Yuzhaninov [Tue, 22 Dec 2020 13:23:48 +0000 (13:23 +0000)]
[Minor] Add {header} for header regexps

3 years ago[Minor] Use task:has_header instead of task:get_header 3581/head
Anton Yuzhaninov [Tue, 22 Dec 2020 13:05:58 +0000 (13:05 +0000)]
[Minor] Use task:has_header instead of task:get_header

Use task:has_header() to check if header is exists.

3 years agoMerge pull request #3579 from fatalbanana/rbl_logging
Vsevolod Stakhov [Tue, 22 Dec 2020 10:33:34 +0000 (10:33 +0000)]
Merge pull request #3579 from fatalbanana/rbl_logging

[Minor] rbl: move logging to debug level

3 years agoMerge pull request #3580 from citrin/x-mailer-rules
Vsevolod Stakhov [Tue, 22 Dec 2020 10:33:15 +0000 (10:33 +0000)]
Merge pull request #3580 from citrin/x-mailer-rules

[Rules] X-Mailer header rules

3 years ago[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID 3580/head
Anton Yuzhaninov [Mon, 21 Dec 2020 20:05:45 +0000 (20:05 +0000)]
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID

These rules are no longer relevant.

3 years ago[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
Anton Yuzhaninov [Mon, 21 Dec 2020 18:40:41 +0000 (18:40 +0000)]
[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots

3 years ago[Feature] Support SMIME signed messages container
Vsevolod Stakhov [Mon, 21 Dec 2020 17:16:50 +0000 (17:16 +0000)]
[Feature] Support SMIME signed messages container

Issue: #3568

3 years ago[Minor] Add pkcs7 content type flag
Vsevolod Stakhov [Mon, 21 Dec 2020 16:17:42 +0000 (16:17 +0000)]
[Minor] Add pkcs7 content type flag

3 years ago[Fix] Fix flag shift
Vsevolod Stakhov [Mon, 21 Dec 2020 16:16:16 +0000 (16:16 +0000)]
[Fix] Fix flag shift

3 years ago[Minor] rbl: move logging to debug level 3579/head
Andrew Lewis [Mon, 21 Dec 2020 07:07:53 +0000 (09:07 +0200)]
[Minor] rbl: move logging to debug level

3 years agoUpdate README.md
Vsevolod Stakhov [Sun, 20 Dec 2020 21:18:01 +0000 (21:18 +0000)]
Update README.md

3 years agoMerge pull request #3577 from fatalbanana/http_headers_plugin
Vsevolod Stakhov [Sat, 19 Dec 2020 21:03:57 +0000 (21:03 +0000)]
Merge pull request #3577 from fatalbanana/http_headers_plugin

[Minor] Move http_headers to plugin

3 years ago[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade
Vsevolod Stakhov [Fri, 18 Dec 2020 16:12:30 +0000 (16:12 +0000)]
[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade

3 years ago[Feature] Neural: Move PCA learning to a subprocess
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:53 +0000 (16:06 +0000)]
[Feature] Neural: Move PCA learning to a subprocess

3 years ago[Minor] Support both text and string on return value
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:34 +0000 (16:06 +0000)]
[Minor] Support both text and string on return value

3 years ago[Minor] Improve debug
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:21 +0000 (16:06 +0000)]
[Minor] Improve debug

3 years ago[Fix] Fix pushing ucl strings with \0 inside
Vsevolod Stakhov [Fri, 18 Dec 2020 16:05:45 +0000 (16:05 +0000)]
[Fix] Fix pushing ucl strings with \0 inside

3 years ago[Minor] Relax `parse_text` input arguments to allow both string and text
Vsevolod Stakhov [Fri, 18 Dec 2020 14:44:46 +0000 (14:44 +0000)]
[Minor] Relax `parse_text` input arguments to allow both string and text

3 years agoMerge pull request #3578 from fatalbanana/nn_pool_name
Vsevolod Stakhov [Thu, 17 Dec 2020 13:44:52 +0000 (13:44 +0000)]
Merge pull request #3578 from fatalbanana/nn_pool_name

[Minor] neural: use prefix in pool variable names

3 years ago[Minor] neural: use prefix in pool variable names 3578/head
Andrew Lewis [Thu, 17 Dec 2020 13:40:09 +0000 (15:40 +0200)]
[Minor] neural: use prefix in pool variable names

 - Also deduplicate some duplicated stuff

3 years agoMerge pull request #3570 from fatalbanana/nn_training
Vsevolod Stakhov [Thu, 17 Dec 2020 13:15:02 +0000 (13:15 +0000)]
Merge pull request #3570 from fatalbanana/nn_training

[Feature] Add controller endpoint for training neural

3 years ago[Minor] Move http_headers to plugin 3577/head
Andrew Lewis [Thu, 17 Dec 2020 10:58:39 +0000 (12:58 +0200)]
[Minor] Move http_headers to plugin

 - Support multiple DKIM results
 - Insert DKIM trace symbols
 - Always disable callbacks if we got a header
 - Make the plugin default-disabled
 - Disable callbacks instead of virtual symbols

3 years ago[Feature] Add controller endpoint for training neural 3570/head
Andrew Lewis [Thu, 17 Dec 2020 09:28:09 +0000 (11:28 +0200)]
[Feature] Add controller endpoint for training neural

 - Move neural functions to library
 - Parameterise spawn_train
 - neural plugin: Fix store_pool_only when autotrain is true
 - neural plugin: Use cache_set instead of mempool
 - Add test

3 years agoMerge pull request #3576 from citrin/rules-update
Vsevolod Stakhov [Tue, 15 Dec 2020 10:25:40 +0000 (10:25 +0000)]
Merge pull request #3576 from citrin/rules-update

[Minor] Remove AOL_SPAM rule

3 years ago[Minor] Update regexp for R_UNDISC_RCPT 3576/head
Anton Yuzhaninov [Mon, 14 Dec 2020 19:31:22 +0000 (19:31 +0000)]
[Minor] Update regexp for R_UNDISC_RCPT

Match more variations for undisclosed-recipients, but don't match when
it is used as a lame real name.

3 years ago[Minor] Composites: Insert symbol to the selected result structure
Vsevolod Stakhov [Mon, 14 Dec 2020 17:08:30 +0000 (17:08 +0000)]
[Minor] Composites: Insert symbol to the selected result structure

3 years ago[Minor] Add rule for old MUA version
Anton Yuzhaninov [Sun, 13 Dec 2020 21:10:05 +0000 (21:10 +0000)]
[Minor] Add rule for old MUA version

These versions are rarely used by real uses nowadays, but can be found
in spam.

3 years ago[Minor] Composites: Another try to deal properly with shadow results
Vsevolod Stakhov [Mon, 14 Dec 2020 12:32:12 +0000 (12:32 +0000)]
[Minor] Composites: Another try to deal properly with shadow results

3 years ago[Minor] Allow to get raw body of non processed messages
Vsevolod Stakhov [Mon, 14 Dec 2020 10:18:32 +0000 (10:18 +0000)]
[Minor] Allow to get raw body of non processed messages

3 years ago[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module
Anton Yuzhaninov [Sat, 12 Dec 2020 19:30:46 +0000 (19:30 +0000)]
[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module

FAKE_REPLY_C rule no longer works because MUA it used are no longer used
(and ones which are used changed headers they add).  In theory one can
test all popular modern MUA and see which add only References, which
only In-Reply-To and which add both headers.  But it will be a lot of
work to maintain such rule up to date.  It still has a small number of
hits, but mostly because some spammers use old X-Mailer headers.  This
should be addressed separately.

While here re-create FAKE_REPLY as a regexp module rule - this way it
should be more efficient.

3 years ago[Minor] Remove AOL_SPAM rule
Anton Yuzhaninov [Sat, 12 Dec 2020 18:17:39 +0000 (18:17 +0000)]
[Minor] Remove AOL_SPAM rule

Mail from AOL not longer have X-AOL-Global-Disposition header and this
rule no longer works.  AOL messages now have X-YMail-OSG header (like
yahoo.com), but it is encrypted/obfuscated and cannot be used here.

3 years ago[Minor] ...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:53:51 +0000 (11:53 +0000)]
[Minor] ...

3 years ago[Minor] Format string...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:49:29 +0000 (11:49 +0000)]
[Minor] Format string...

3 years ago[Minor] Add more debug for shadow result
Vsevolod Stakhov [Fri, 11 Dec 2020 11:41:33 +0000 (11:41 +0000)]
[Minor] Add more debug for shadow result

3 years agoMerge pull request #3575 from a16bitsysop/alpine-lua
Vsevolod Stakhov [Thu, 10 Dec 2020 19:19:12 +0000 (19:19 +0000)]
Merge pull request #3575 from a16bitsysop/alpine-lua

[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux

3 years ago[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux 3575/head
Duncan Bellamy [Thu, 10 Dec 2020 19:09:28 +0000 (19:09 +0000)]
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux

3 years ago[Minor] Reputation: More safe default
Vsevolod Stakhov [Thu, 10 Dec 2020 11:55:30 +0000 (11:55 +0000)]
[Minor] Reputation: More safe default