]> source.dussan.org Git - rspamd.git/log
rspamd.git
21 months agoMerge branch 'master' into temp-propose-alternative-solution-to-xbl-any-hack 4398/head
Vsevolod Stakhov [Sun, 19 Feb 2023 23:20:56 +0000 (23:20 +0000)]
Merge branch 'master' into temp-propose-alternative-solution-to-xbl-any-hack

21 months agoMerge pull request #4404 from georglauterbach/add-betterbird-to-header-rules
Vsevolod Stakhov [Sun, 19 Feb 2023 23:19:50 +0000 (23:19 +0000)]
Merge pull request #4404 from georglauterbach/add-betterbird-to-header-rules

addition: add Betterbird to `user_agent_thunderbird`

21 months ago[Minor] Add autodetection of the libc++
Vsevolod Stakhov [Sun, 19 Feb 2023 19:34:34 +0000 (19:34 +0000)]
[Minor] Add autodetection of the libc++

21 months agoadd Betterbird to `user_agent_thunderbird` 4404/head
georglauterbach [Sun, 19 Feb 2023 18:05:58 +0000 (19:05 +0100)]
add Betterbird to `user_agent_thunderbird`

See https://github.com/Betterbird/thunderbird-patches/issues/125 for
reference.

This way, Rspamd will not add `FORGED_MUA_MOZILLA_MAIL_MSGID_UNKNOWN` to
mails sent perfectly find with Betterbird. Betterbird
(<https://www.betterbird.eu/>) is an adjusted version of Thunderbird,
fixing many bugs and adding long-wanted features. It is a common and
well-known alternative to Thunderbird, so I think the addition is
justified.

21 months ago[Minor] Further debian packages fixes
Vsevolod Stakhov [Sat, 18 Feb 2023 19:19:05 +0000 (19:19 +0000)]
[Minor] Further debian packages fixes

21 months agoMerge pull request #4397 from twesterhever/temp-misc-cleanups-and-housekeeping
Vsevolod Stakhov [Fri, 17 Feb 2023 21:55:35 +0000 (21:55 +0000)]
Merge pull request #4397 from twesterhever/temp-misc-cleanups-and-housekeeping

[Minor] Assorted cleanup and housekeeping of configuration files

21 months agoMerge pull request #4401 from twesterhever/temp-google-firebase
Vsevolod Stakhov [Fri, 17 Feb 2023 21:52:53 +0000 (21:52 +0000)]
Merge pull request #4401 from twesterhever/temp-google-firebase

[Enhancement] Add rule to detect Google Firebase URLs

21 months agoMerge pull request #4399 from twesterhever/temp-google-redir
Vsevolod Stakhov [Fri, 17 Feb 2023 21:52:14 +0000 (21:52 +0000)]
Merge pull request #4399 from twesterhever/temp-google-redir

[Enhancement] Make Google URL redirection rules productive

21 months ago[Minor] Fix permissions in the asan package
Vsevolod Stakhov [Fri, 17 Feb 2023 19:57:24 +0000 (19:57 +0000)]
[Minor] Fix permissions in the asan package

21 months ago[Minor] Rework debian packages build system
Vsevolod Stakhov [Fri, 17 Feb 2023 19:53:21 +0000 (19:53 +0000)]
[Minor] Rework debian packages build system

21 months ago[Minor] Several fixes for clang-16
Vsevolod Stakhov [Fri, 17 Feb 2023 19:52:55 +0000 (19:52 +0000)]
[Minor] Several fixes for clang-16

21 months ago[Enhancement] Add rule to detect Google Firebase URLs 4401/head
twesterhever [Fri, 17 Feb 2023 16:01:16 +0000 (16:01 +0000)]
[Enhancement] Add rule to detect Google Firebase URLs

21 months ago[Enhancement] Make Google URL redirection rules productive 4399/head
twesterhever [Fri, 17 Feb 2023 15:48:47 +0000 (15:48 +0000)]
[Enhancement] Make Google URL redirection rules productive

21 months ago[Minor] Replace "Spamhaus XBL any" hack with a more clear solution
twesterhever [Fri, 17 Feb 2023 15:33:28 +0000 (15:33 +0000)]
[Minor] Replace "Spamhaus XBL any" hack with a more clear solution

21 months ago[Minor] Sort maps.d contents for better readability 4397/head
twesterhever [Fri, 17 Feb 2023 15:18:18 +0000 (15:18 +0000)]
[Minor] Sort maps.d contents for better readability

21 months ago[Minor] Fix some whitespace issues
twesterhever [Fri, 17 Feb 2023 15:11:31 +0000 (15:11 +0000)]
[Minor] Fix some whitespace issues

21 months ago[Minor] Improve readability of composites rule configuration
twesterhever [Fri, 17 Feb 2023 15:09:48 +0000 (15:09 +0000)]
[Minor] Improve readability of composites rule configuration

21 months ago[Minor] Add newline at EOF where missing
twesterhever [Fri, 17 Feb 2023 15:09:33 +0000 (15:09 +0000)]
[Minor] Add newline at EOF where missing

21 months ago[Minor] Improve readability of RBL module configuration file
twesterhever [Fri, 17 Feb 2023 15:02:10 +0000 (15:02 +0000)]
[Minor] Improve readability of RBL module configuration file

21 months ago[Minor] Remove orphaned SARBL directives
twesterhever [Fri, 17 Feb 2023 14:58:38 +0000 (14:58 +0000)]
[Minor] Remove orphaned SARBL directives

21 months ago[Minor] Unify configuration file structure
twesterhever [Fri, 17 Feb 2023 14:57:27 +0000 (14:57 +0000)]
[Minor] Unify configuration file structure

21 months ago[Minor] Improve content rule descriptions
twesterhever [Fri, 17 Feb 2023 14:57:02 +0000 (14:57 +0000)]
[Minor] Improve content rule descriptions

21 months ago[Minor] Improve readability of policies group configuration file
twesterhever [Fri, 17 Feb 2023 14:54:03 +0000 (14:54 +0000)]
[Minor] Improve readability of policies group configuration file

21 months ago[Minor] Add project URL for MSBL
twesterhever [Fri, 17 Feb 2023 14:52:56 +0000 (14:52 +0000)]
[Minor] Add project URL for MSBL

21 months ago[Minor] Add "blocked" tag to DBL_BLOCKED_OPENRESOLVER and DBL_BLOCKED
twesterhever [Fri, 17 Feb 2023 14:52:35 +0000 (14:52 +0000)]
[Minor] Add "blocked" tag to DBL_BLOCKED_OPENRESOLVER and DBL_BLOCKED

21 months ago[Minor] Improve SURBL rule descriptions
twesterhever [Fri, 17 Feb 2023 14:52:09 +0000 (14:52 +0000)]
[Minor] Improve SURBL rule descriptions

21 months ago[Minor] Improve readability of RBL/SURBL configuration files
twesterhever [Fri, 17 Feb 2023 14:51:29 +0000 (14:51 +0000)]
[Minor] Improve readability of RBL/SURBL configuration files

21 months ago[Minor] Add "blocked" tag to *_SPAMHAUS_BLOCKED_OPENRESOLVER and *_SPAMHAUS_BLOCKED
twesterhever [Fri, 17 Feb 2023 14:38:10 +0000 (14:38 +0000)]
[Minor] Add "blocked" tag to *_SPAMHAUS_BLOCKED_OPENRESOLVER and *_SPAMHAUS_BLOCKED

21 months ago[Minor] Improve RBL rule descriptions
twesterhever [Fri, 17 Feb 2023 14:37:37 +0000 (14:37 +0000)]
[Minor] Improve RBL rule descriptions

21 months ago[Minor] Update NiX spam project URL
twesterhever [Fri, 17 Feb 2023 14:36:45 +0000 (14:36 +0000)]
[Minor] Update NiX spam project URL

21 months agoMerge pull request #4393 from dpetrov67/fix-global-lua-maps-in-settings
Vsevolod Stakhov [Wed, 15 Feb 2023 13:02:54 +0000 (13:02 +0000)]
Merge pull request #4393 from dpetrov67/fix-global-lua-maps-in-settings

Fixes to support global lua maps in user settings

21 months agoFix process_ip_condition() to support global maps 4393/head
dpetrov67 [Tue, 14 Feb 2023 17:16:53 +0000 (12:16 -0500)]
Fix process_ip_condition() to support global maps

21 months agoFix pcall() argument in rspamd.lua
dpetrov67 [Tue, 14 Feb 2023 16:53:40 +0000 (11:53 -0500)]
Fix pcall() argument in rspamd.lua

21 months agoFix support for global maps in lua_maps.lua
dpetrov67 [Tue, 14 Feb 2023 16:19:57 +0000 (11:19 -0500)]
Fix support for global maps in lua_maps.lua

21 months ago[Minor] Remove FP producing warning
Vsevolod Stakhov [Sat, 11 Feb 2023 12:33:25 +0000 (12:33 +0000)]
[Minor] Remove FP producing warning

21 months ago[Minor] Fix some warnings
Vsevolod Stakhov [Sat, 11 Feb 2023 12:29:10 +0000 (12:29 +0000)]
[Minor] Fix some warnings

21 months ago[Minor] RBL: Add missing groups
Vsevolod Stakhov [Sat, 11 Feb 2023 12:21:32 +0000 (12:21 +0000)]
[Minor] RBL: Add missing groups

21 months ago[Minor] Start fight with drone ci
Vsevolod Stakhov [Fri, 10 Feb 2023 12:16:09 +0000 (12:16 +0000)]
[Minor] Start fight with drone ci

21 months ago[Minor] Update my email
Vsevolod Stakhov [Fri, 10 Feb 2023 11:32:54 +0000 (11:32 +0000)]
[Minor] Update my email

21 months ago[Minor] Fix spec for the new packaging system
Vsevolod Stakhov [Thu, 9 Feb 2023 18:17:18 +0000 (18:17 +0000)]
[Minor] Fix spec for the new packaging system

21 months ago[Minor] More flexibility fixes for the spec file
Vsevolod Stakhov [Wed, 8 Feb 2023 14:47:48 +0000 (14:47 +0000)]
[Minor] More flexibility fixes for the spec file

21 months ago[Minor] Some more fixes to rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:45:48 +0000 (12:45 +0000)]
[Minor] Some more fixes to rpm spec

21 months ago[Minor] More fixes for the rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:37:05 +0000 (12:37 +0000)]
[Minor] More fixes for the rpm spec

21 months ago[Minor] Furhter fixes for the rpm build
Vsevolod Stakhov [Wed, 8 Feb 2023 12:27:44 +0000 (12:27 +0000)]
[Minor] Furhter fixes for the rpm build

21 months ago[Minor] Directory name is bogus
Vsevolod Stakhov [Wed, 8 Feb 2023 12:22:57 +0000 (12:22 +0000)]
[Minor] Directory name is bogus

21 months ago[Minor] Add RBL callback symbols to the `rbl` group
Vsevolod Stakhov [Wed, 8 Feb 2023 12:04:34 +0000 (12:04 +0000)]
[Minor] Add RBL callback symbols to the `rbl` group

21 months ago[Fix] Fix usage of the Redis config schema as `extra_fields`
Vsevolod Stakhov [Sun, 5 Feb 2023 12:29:37 +0000 (12:29 +0000)]
[Fix] Fix usage of the Redis config schema as `extra_fields`

Issue: #4318

21 months ago[Fix] Set symcache item in coroutine calls
Vsevolod Stakhov [Fri, 3 Feb 2023 19:12:42 +0000 (19:12 +0000)]
[Fix] Set symcache item in coroutine calls

21 months ago[Minor] Remove obsoleted compat functions that are no longer used
Vsevolod Stakhov [Fri, 3 Feb 2023 14:10:52 +0000 (14:10 +0000)]
[Minor] Remove obsoleted compat functions that are no longer used

21 months ago[Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK
Vsevolod Stakhov [Wed, 1 Feb 2023 17:32:24 +0000 (17:32 +0000)]
[Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK

21 months agoMerge pull request #4387 from jendis/fix_arc_settings
Vsevolod Stakhov [Tue, 31 Jan 2023 15:18:59 +0000 (15:18 +0000)]
Merge pull request #4387 from jendis/fix_arc_settings

conf/modules.d/arc.conf: fix parameter name

21 months agoconf/modules.d/arc.conf: fix parameter name 4387/head
Jan Smutny [Tue, 31 Jan 2023 14:06:01 +0000 (15:06 +0100)]
conf/modules.d/arc.conf: fix parameter name

rename symbol_sign -> sign_symbol

21 months agoMerge pull request #4383 from amishmm/wrap
Vsevolod Stakhov [Thu, 26 Jan 2023 23:45:21 +0000 (23:45 +0000)]
Merge pull request #4383 from amishmm/wrap

Set required_score = reject score and minor change to the report

21 months agoSet required_score = reject score and minor change to the report 4383/head
Amish [Thu, 26 Jan 2023 10:24:27 +0000 (15:54 +0530)]
Set required_score = reject score and minor change to the report

21 months agoMerge pull request #4381 from amishmm/wrap
Vsevolod Stakhov [Tue, 24 Jan 2023 19:46:22 +0000 (19:46 +0000)]
Merge pull request #4381 from amishmm/wrap

[Minor] rspamc: optimize indentation condition

21 months agorspamc: optimize indentation condition 4381/head
Amish [Tue, 24 Jan 2023 05:57:41 +0000 (11:27 +0530)]
rspamc: optimize indentation condition

21 months ago[Minor] Use `thresholds` object in rspamc
Vsevolod Stakhov [Mon, 23 Jan 2023 21:58:23 +0000 (21:58 +0000)]
[Minor] Use `thresholds` object in rspamc

Closes: #4380
21 months ago[Feature] Add `thresholds` field to the scan result
Vsevolod Stakhov [Mon, 23 Jan 2023 21:52:00 +0000 (21:52 +0000)]
[Feature] Add `thresholds` field to the scan result

21 months ago[Minor] Some style neats
Vsevolod Stakhov [Mon, 23 Jan 2023 21:43:01 +0000 (21:43 +0000)]
[Minor] Some style neats

22 months ago[Minor] Further adjustments to the word wrapping
Vsevolod Stakhov [Sun, 22 Jan 2023 13:26:35 +0000 (13:26 +0000)]
[Minor] Further adjustments to the word wrapping

22 months ago[Minor] Do not split on `.`
Vsevolod Stakhov [Sun, 22 Jan 2023 13:05:51 +0000 (13:05 +0000)]
[Minor] Do not split on `.`

22 months ago[Minor] Simplify string wrap algorithm
Vsevolod Stakhov [Sun, 22 Jan 2023 13:02:44 +0000 (13:02 +0000)]
[Minor] Simplify string wrap algorithm

Submitted by: @amishmm
Closes: #4378
22 months ago[Minor] Check the last split when wrapping
Vsevolod Stakhov [Sun, 22 Jan 2023 12:48:37 +0000 (12:48 +0000)]
[Minor] Check the last split when wrapping

Reported by: @amishmm

22 months ago[Minor] Some more neats to the string wrapping function
Vsevolod Stakhov [Sun, 22 Jan 2023 12:37:29 +0000 (12:37 +0000)]
[Minor] Some more neats to the string wrapping function

22 months ago[Fix] Restore `strict_domains` support
Vsevolod Stakhov [Sat, 21 Jan 2023 15:30:13 +0000 (15:30 +0000)]
[Fix] Restore `strict_domains` support

22 months ago[Minor] Improve words wrap algorithm
Vsevolod Stakhov [Sat, 21 Jan 2023 15:21:11 +0000 (15:21 +0000)]
[Minor] Improve words wrap algorithm

22 months ago[Minor] Fix luacheck
Vsevolod Stakhov [Sat, 21 Jan 2023 14:39:40 +0000 (14:39 +0000)]
[Minor] Fix luacheck

22 months ago[Minor] Some style fixes + reformat
Vsevolod Stakhov [Sat, 21 Jan 2023 14:22:57 +0000 (14:22 +0000)]
[Minor] Some style fixes + reformat

22 months agoMerge pull request #4377 from amishmm/humanreport
Vsevolod Stakhov [Sat, 21 Jan 2023 12:15:12 +0000 (12:15 +0000)]
Merge pull request #4377 from amishmm/humanreport

[Feature] rspamc: add -R option for human readable report

22 months agorspamc: add action number in first line and improve code 4377/head
Amish [Sat, 21 Jan 2023 10:40:21 +0000 (16:10 +0530)]
rspamc: add action number in first line and improve code

22 months agoMerge pull request #4375 from heirecka/fix-build-with-gcc13
Vsevolod Stakhov [Fri, 20 Jan 2023 19:23:10 +0000 (19:23 +0000)]
Merge pull request #4375 from heirecka/fix-build-with-gcc13

Fix build with gcc 13 by including <cstdint>

22 months agorspamc: add -R option for human readable report
Amish [Fri, 20 Jan 2023 15:29:48 +0000 (20:59 +0530)]
rspamc: add -R option for human readable report

22 months agoMerge pull request #4376 from dupondje/remove_phishing_strict_domains
Vsevolod Stakhov [Thu, 19 Jan 2023 22:17:30 +0000 (22:17 +0000)]
Merge pull request #4376 from dupondje/remove_phishing_strict_domains

[Fix] Replace broken strict_domains with phishing_exceptions

22 months ago[Fix] Replace broken strict_domains with phishing_exceptions 4376/head
Jean-Louis Dupond [Thu, 19 Jan 2023 14:30:24 +0000 (15:30 +0100)]
[Fix] Replace broken strict_domains with phishing_exceptions

The syntax of the strict_domains is broken since parsing for it was
removed in commit ce21f8fe16a45a5a409d3c9f8217eba2de1fbe14

We introduct the phishing_exceptions to be able to create exceptions on
the phished domain.

22 months agoFix build with gcc 13 by including <cstdint> 4375/head
Heiko Becker [Wed, 18 Jan 2023 22:54:24 +0000 (23:54 +0100)]
Fix build with gcc 13 by including <cstdint>

Like other versions before, gcc 13 moved some includes around and as a
result <cstdint> is no longer transitively included. Explicitly include
it for uint8_t.

22 months ago[Minor] Fix misprint
Vsevolod Stakhov [Mon, 16 Jan 2023 08:40:01 +0000 (08:40 +0000)]
[Minor] Fix misprint

22 months ago[Minor] Backport fixes from libucl
Vsevolod Stakhov [Sun, 15 Jan 2023 23:18:39 +0000 (23:18 +0000)]
[Minor] Backport fixes from libucl

22 months ago[Minor] Use averages in fuzzystat
Vsevolod Stakhov [Sat, 14 Jan 2023 21:41:43 +0000 (21:41 +0000)]
[Minor] Use averages in fuzzystat

22 months ago[Minor] Save in stats
Vsevolod Stakhov [Sat, 14 Jan 2023 13:00:14 +0000 (13:00 +0000)]
[Minor] Save in stats

22 months ago[Minor] Add per-hour counters for fuzzy keys
Vsevolod Stakhov [Sat, 14 Jan 2023 12:43:46 +0000 (12:43 +0000)]
[Minor] Add per-hour counters for fuzzy keys

22 months ago[Minor] Store timestamp in the fuzzy session properly
Vsevolod Stakhov [Sat, 14 Jan 2023 12:25:24 +0000 (12:25 +0000)]
[Minor] Store timestamp in the fuzzy session properly

22 months agoMerge pull request #4367 from kakochang/patch-fix-received-count
Vsevolod Stakhov [Thu, 12 Jan 2023 17:59:52 +0000 (17:59 +0000)]
Merge pull request #4367 from kakochang/patch-fix-received-count

[Fix] received: filtering of artificial header

22 months ago[Fix] received: filtering of artificial header 4367/head
Kako, Chang [Thu, 12 Jan 2023 06:12:01 +0000 (14:12 +0800)]
[Fix] received: filtering of artificial header

22 months ago[Minor] Fix unencrypted fuzzy case
Vsevolod Stakhov [Wed, 11 Jan 2023 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix unencrypted fuzzy case

22 months ago[Minor] Further steps to implement forbidden ids for specific keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:48:33 +0000 (22:48 +0000)]
[Minor] Further steps to implement forbidden ids for specific keys

22 months ago[Minor] Allow to deny certain ids for certain fuzzy keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:32:58 +0000 (22:32 +0000)]
[Minor] Allow to deny certain ids for certain fuzzy keys

22 months ago[Minor] Remove unused structure
Vsevolod Stakhov [Tue, 10 Jan 2023 22:16:38 +0000 (22:16 +0000)]
[Minor] Remove unused structure

22 months ago[Rework] Breaking: Do not report soft reject in history
Vsevolod Stakhov [Sat, 7 Jan 2023 14:46:56 +0000 (14:46 +0000)]
[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.

22 months ago[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well
Vsevolod Stakhov [Sat, 7 Jan 2023 13:31:17 +0000 (13:31 +0000)]
[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well

22 months ago[Test] Properly set environment, fix teardown part
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:56 +0000 (13:17 +0000)]
[Test] Properly set environment, fix teardown part

22 months ago[Minor] Add log line about hyperscan cleanup
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:35 +0000 (13:17 +0000)]
[Minor] Add log line about hyperscan cleanup

22 months ago[Minor] Fuzzystat: Fix case of the options
Vsevolod Stakhov [Thu, 5 Jan 2023 16:19:08 +0000 (16:19 +0000)]
[Minor] Fuzzystat: Fix case of the options

22 months ago[Minor] Fuzzystat: Allow to sort keys
Vsevolod Stakhov [Thu, 5 Jan 2023 16:18:08 +0000 (16:18 +0000)]
[Minor] Fuzzystat: Allow to sort keys

22 months ago[Minor] Use unsigned char for ascii checks
Vsevolod Stakhov [Thu, 5 Jan 2023 10:12:13 +0000 (10:12 +0000)]
[Minor] Use unsigned char for ascii checks

22 months ago[Minor] Add --name parameter to keypair generation
Vsevolod Stakhov [Thu, 5 Jan 2023 09:44:44 +0000 (09:44 +0000)]
[Minor] Add --name parameter to keypair generation

22 months ago[Minor] Allow to flatten keypair output
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:29 +0000 (13:56 +0000)]
[Minor] Allow to flatten keypair output

22 months ago[Minor] Show name if available
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:02 +0000 (13:56 +0000)]
[Minor] Show name if available

22 months ago[Minor] Allow different dump types for the keypairs
Vsevolod Stakhov [Wed, 4 Jan 2023 12:46:56 +0000 (12:46 +0000)]
[Minor] Allow different dump types for the keypairs

22 months ago[Minor] Emit keypair on fuzzystat command
Vsevolod Stakhov [Wed, 4 Jan 2023 11:37:47 +0000 (11:37 +0000)]
[Minor] Emit keypair on fuzzystat command

22 months ago[Minor] Allow to get keypairs extensions
Vsevolod Stakhov [Wed, 4 Jan 2023 11:34:44 +0000 (11:34 +0000)]
[Minor] Allow to get keypairs extensions