]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years ago[Feature] Elastic: Add some missing fields
Vsevolod Stakhov [Mon, 2 Nov 2020 16:08:00 +0000 (16:08 +0000)]
[Feature] Elastic: Add some missing fields

4 years agoMerge pull request #3537 from citrin/forged-recipients
Vsevolod Stakhov [Sat, 31 Oct 2020 20:46:58 +0000 (20:46 +0000)]
Merge pull request #3537 from citrin/forged-recipients

[Minor] forged_recipients: fix for uppercase RFC5321.MailFrom domain

4 years ago[Minor] Lua_mime: One more off-by-one
Vsevolod Stakhov [Fri, 30 Oct 2020 19:06:19 +0000 (19:06 +0000)]
[Minor] Lua_mime: One more off-by-one

4 years ago[Minor] Lua_mime: Some more issue fixed
Vsevolod Stakhov [Fri, 30 Oct 2020 18:17:44 +0000 (18:17 +0000)]
[Minor] Lua_mime: Some more issue fixed

4 years ago[Minor] forged_recipients: fix for uppercase RFC5321.MailFrom domain 3537/head
Anton Yuzhaninov [Fri, 30 Oct 2020 17:44:22 +0000 (17:44 +0000)]
[Minor] forged_recipients: fix for uppercase RFC5321.MailFrom domain

If RFC5321.MailFrom has an address with uppercase domain following error
happens:
/usr/share/rspamd/plugins/forged_recipients.lua:129: attempt to index a nil value; trace: [1]:{/usr/share/rspamd/plugins/forged_recipients.lua:129 - <unknown> [Lua]};

Lowercase a domain.

4 years ago[Minor] Lua_mime: One more offset fix
Vsevolod Stakhov [Fri, 30 Oct 2020 12:09:00 +0000 (12:09 +0000)]
[Minor] Lua_mime: One more offset fix

4 years ago[Minor] Lua_mime: Fix several off-by one issues
Vsevolod Stakhov [Fri, 30 Oct 2020 12:04:01 +0000 (12:04 +0000)]
[Minor] Lua_mime: Fix several off-by one issues

4 years ago[Minor] Lua_mime: Quote charser
Vsevolod Stakhov [Thu, 29 Oct 2020 13:09:33 +0000 (13:09 +0000)]
[Minor] Lua_mime: Quote charser

4 years ago[Minor] Lua_mime: Several fixes in replacement
Vsevolod Stakhov [Thu, 29 Oct 2020 13:05:08 +0000 (13:05 +0000)]
[Minor] Lua_mime: Several fixes in replacement

4 years ago[Minor] Add more logging in map reread reason
Vsevolod Stakhov [Wed, 28 Oct 2020 10:35:42 +0000 (10:35 +0000)]
[Minor] Add more logging in map reread reason

4 years ago[Minor] Add matches flag
Vsevolod Stakhov [Wed, 28 Oct 2020 10:30:49 +0000 (10:30 +0000)]
[Minor] Add matches flag

4 years agoMerge pull request #3532 from moisseev/webui
Vsevolod Stakhov [Tue, 27 Oct 2020 17:11:01 +0000 (17:11 +0000)]
Merge pull request #3532 from moisseev/webui

[WebUI] Fix config editor read-only mode attribute

4 years ago[WebUI] Fix config editor read-only mode attribute 3532/head
moisseev [Tue, 27 Oct 2020 15:18:00 +0000 (18:18 +0300)]
[WebUI] Fix config editor read-only mode attribute

4 years ago[Feature] Lua_mime: Add ability to do multipattern replacement
Vsevolod Stakhov [Tue, 27 Oct 2020 15:15:39 +0000 (15:15 +0000)]
[Feature] Lua_mime: Add ability to do multipattern replacement

4 years ago[Minor] Lua_mime: Refactor slightly
Vsevolod Stakhov [Tue, 27 Oct 2020 11:10:15 +0000 (11:10 +0000)]
[Minor] Lua_mime: Refactor slightly

4 years ago[Minor] Lua_text: Add concat method
Vsevolod Stakhov [Tue, 27 Oct 2020 09:32:24 +0000 (09:32 +0000)]
[Minor] Lua_text: Add concat method

4 years ago[Minor] Lua_text: Allow comparison methods with plain strings
Vsevolod Stakhov [Mon, 26 Oct 2020 20:52:59 +0000 (20:52 +0000)]
[Minor] Lua_text: Allow comparison methods with plain strings

4 years ago[Fix] Do not load errored hyperscan database
Vsevolod Stakhov [Mon, 26 Oct 2020 20:22:46 +0000 (20:22 +0000)]
[Fix] Do not load errored hyperscan database

4 years ago[Feature] Lua_trie: Allow to report start of the match
Vsevolod Stakhov [Mon, 26 Oct 2020 18:04:31 +0000 (18:04 +0000)]
[Feature] Lua_trie: Allow to report start of the match

4 years ago[Minor] Remove unused var
Vsevolod Stakhov [Mon, 26 Oct 2020 17:49:46 +0000 (17:49 +0000)]
[Minor] Remove unused var

4 years ago[Minor] Fix rspamd_has_only_html_part function + refactor macro names
Vsevolod Stakhov [Mon, 26 Oct 2020 14:49:37 +0000 (14:49 +0000)]
[Minor] Fix rspamd_has_only_html_part function + refactor macro names

4 years ago[Minor] Grrr for grrr
Vsevolod Stakhov [Mon, 26 Oct 2020 13:01:54 +0000 (13:01 +0000)]
[Minor] Grrr for grrr

4 years ago[Minor] Grr, one more format string issue
Vsevolod Stakhov [Mon, 26 Oct 2020 12:53:25 +0000 (12:53 +0000)]
[Minor] Grr, one more format string issue

4 years ago[Minor] Further fixes about maps duplicates
Vsevolod Stakhov [Mon, 26 Oct 2020 12:42:57 +0000 (12:42 +0000)]
[Minor] Further fixes about maps duplicates

4 years ago[Rework] Furhter logging improvements
Vsevolod Stakhov [Mon, 26 Oct 2020 12:26:39 +0000 (12:26 +0000)]
[Rework] Furhter logging improvements

4 years ago[Rework] Track maps origins
Vsevolod Stakhov [Mon, 26 Oct 2020 12:14:17 +0000 (12:14 +0000)]
[Rework] Track maps origins

4 years agoMerge pull request #3524 from fatalbanana/test_stability
Vsevolod Stakhov [Mon, 26 Oct 2020 10:09:36 +0000 (10:09 +0000)]
Merge pull request #3524 from fatalbanana/test_stability

[Test] Improve test stability

4 years ago[Test] Improve test stability 3524/head
Andrew Lewis [Mon, 19 Oct 2020 08:04:57 +0000 (10:04 +0200)]
[Test] Improve test stability

 - Antivirus: better visibility into why test servers mightn't start
 - Antivirus: don't use ephemeral port range
 - Fuzzy skip hash: wait for map reload

4 years agoMerge pull request #3530 from andryyy/patch-17
Vsevolod Stakhov [Sat, 24 Oct 2020 16:42:29 +0000 (17:42 +0100)]
Merge pull request #3530 from andryyy/patch-17

[Feature] Include fuzzy hashes in meta data, if any

4 years agoInclude fuzzy hashes in meta data, if any 3530/head
André Peters [Fri, 23 Oct 2020 19:12:37 +0000 (21:12 +0200)]
Include fuzzy hashes in meta data, if any

Tested:

```
[X-Rspamd-From] => unknown"
[X-Rspamd-Ip] => unknown"
[X-Rspamd-Subject] => asdasd"
[X-Rspamd-Qid] => unknown"
[X-Rspamd-Rcpt] => unknown"
[X-Rspamd-Action] => reject"
[X-Rspamd-Score] => 29.15"
[User-Agent] => rspamd-2.6"
[X-Rspamd-Fuzzy] => ["c62020f5ba6f4e3e403b6c67abb860954452fa662bf8c38dae06c17c70cc0b79720cf762e45fbeeea7d2fb17f9cf4b28c851bb70f2526b000dba852899c7ce67"]"
[X-Rspamd-User] => unknown"
[X-Rspamd-Symbols] => [{"score":0,"group":"policies","name":"ARC_NA","groups":["policies","arc"]},{"options":["andre.peters@tinc.gmbh"],"score":0,"group":"headers","name":"HAS_REPLYTO","groups":["headers"]},{"options":["andre@develcow.de"],"score":0,"group":"multimap","name":"RCPT_WANTS_SUBJECT_TAG","groups":["multimap"]},{"score":0,"group":"headers","name":"REPLYTO_EQ_FROM","groups":["headers"]},{"score":0,"group":"headers","name":"FROM_HAS_DN","groups":["headers"]},{"options":["11:c62020f5ba:1.00:bin"],"score":15,"group":"fuzzy","name":"LOCAL_FUZZY_DENIED","groups":["fuzzy"]},{"score":0.500000,"group":"headers","name":"MV_CASE","groups":["headers"]},{"score":1,"group":"composite","name":"POLICY_FAILURE","groups":["composite"]},{"options":["multipart/alternative","text/plain"],"score":-0.100000,"group":"mime_types","name":"MIME_GOOD","groups":["mime_types"]},{"options":["failed to scan and retransmits exceed"],"score":0,"group":"antivirus","name":"CLAM_VIRUS_FAIL","groups":["antivirus"]},{"options":["1"],"score":0,"group":"headers","name":"RCPT_COUNT_ONE","groups":["headers"]},{"options":["100.00%"],"score":2.500000,"group":"statistics","name":"BAYES_SPAM","groups":["statistics"]},{"score":0,"group":"headers","name":"TO_DN_EQ_ADDR_ALL","groups":["headers"]},{"options":["0"],"score":0,"group":"headers","name":"RCVD_COUNT_ZERO","groups":["headers"]},{"options":["develcow.de"],"score":0,"group":"multimap","name":"RCPT_MAILCOW_DOMAIN","groups":["multimap"]},{"score":0,"group":"policies","name":"R_DKIM_NA","groups":["policies","dkim"]},{"options":["0:+","1:+","2:~"],"score":0,"group":"mime_types","name":"MIME_TRACE","groups":["mime_types"]},{"options":["subject"],"score":0.250000,"group":"headers","name":"R_MIXED_CHARSET","groups":["headers"]},{"score":0.500000,"group":"Message ID","name":"MID_RHS_NOT_FQDN","groups":["Message ID"]},{"score":8.500000,"group":"hfilter","name":"HFILTER_HOSTNAME_UNKNOWN","groups":["hfilter"]},{"options":["tinc.gmbh : No valid SPF, No valid DKIM","none"],"score":1,"group":"policies","name":"DMARC_POLICY_SOFTFAIL","groups":["policies","dmarc"]}]"
[Content-Type] => text/plain"
[Content-Length] => 3825"
[Host] => nginx"
[Connection] => close"
```

Will print "unknown" if missing.

4 years ago[Fix] Allow to use maps for strings that are not zero terminated
Vsevolod Stakhov [Fri, 23 Oct 2020 15:29:57 +0000 (16:29 +0100)]
[Fix] Allow to use maps for strings that are not zero terminated

4 years ago[Minor] Use consistent typing
Vsevolod Stakhov [Fri, 23 Oct 2020 15:29:45 +0000 (16:29 +0100)]
[Minor] Use consistent typing

4 years ago[Minor] Fix force actions limit compare
Vsevolod Stakhov [Fri, 23 Oct 2020 14:13:52 +0000 (15:13 +0100)]
[Minor] Fix force actions limit compare

4 years ago[Minor] Improve map loading logging
Vsevolod Stakhov [Fri, 23 Oct 2020 13:52:12 +0000 (14:52 +0100)]
[Minor] Improve map loading logging

4 years ago[CritFix] Dkim: Fix simple canonicalisation if multiple signatures are presented
Vsevolod Stakhov [Fri, 23 Oct 2020 11:18:57 +0000 (12:18 +0100)]
[CritFix] Dkim: Fix simple canonicalisation if multiple signatures are presented

4 years agoMerge pull request #3529 from moisseev/webui
Vsevolod Stakhov [Thu, 22 Oct 2020 22:17:14 +0000 (23:17 +0100)]
Merge pull request #3529 from moisseev/webui

[WebUI] Update map editor

4 years ago[WebUI] Update map editor 3529/head
moisseev [Thu, 22 Oct 2020 14:57:34 +0000 (17:57 +0300)]
[WebUI] Update map editor

4 years ago[Fix] Multimap: Fix flags usage
Vsevolod Stakhov [Thu, 22 Oct 2020 12:12:33 +0000 (13:12 +0100)]
[Fix] Multimap: Fix flags usage

Issue: #3526

4 years ago[Fix] Fix html attachments checks
Vsevolod Stakhov [Thu, 22 Oct 2020 12:02:36 +0000 (13:02 +0100)]
[Fix] Fix html attachments checks

4 years ago[Minor] Lua_magic: Improve html detection heuristic
Vsevolod Stakhov [Wed, 21 Oct 2020 13:26:56 +0000 (14:26 +0100)]
[Minor] Lua_magic: Improve html detection heuristic

4 years ago[Project] Rbl: Migrate to `checks`
Vsevolod Stakhov [Tue, 20 Oct 2020 14:10:02 +0000 (15:10 +0100)]
[Project] Rbl: Migrate to `checks`

4 years ago[Minor] Provide some upgrade path
Vsevolod Stakhov [Tue, 20 Oct 2020 13:43:03 +0000 (14:43 +0100)]
[Minor] Provide some upgrade path

4 years ago[Project] Rbl: Move config code outside of the plugin
Vsevolod Stakhov [Tue, 20 Oct 2020 12:44:49 +0000 (13:44 +0100)]
[Project] Rbl: Move config code outside of the plugin

4 years ago[Rework] Rbl: Rework defaults logic
Vsevolod Stakhov [Tue, 20 Oct 2020 08:57:21 +0000 (09:57 +0100)]
[Rework] Rbl: Rework defaults logic

4 years ago[Project] Support connection filters registration from Lua
Vsevolod Stakhov [Mon, 19 Oct 2020 19:46:19 +0000 (20:46 +0100)]
[Project] Support connection filters registration from Lua

4 years ago[Project] Ressurect empty prefilters as connection filters
Vsevolod Stakhov [Mon, 19 Oct 2020 14:14:58 +0000 (15:14 +0100)]
[Project] Ressurect empty prefilters as connection filters

4 years ago[Minor] Switch to buffered IO
Vsevolod Stakhov [Mon, 19 Oct 2020 11:36:30 +0000 (12:36 +0100)]
[Minor] Switch to buffered IO

4 years ago[Minor] Switch to buffered IO + fix memory leak on reload
Vsevolod Stakhov [Mon, 19 Oct 2020 11:36:10 +0000 (12:36 +0100)]
[Minor] Switch to buffered IO + fix memory leak on reload

4 years ago[Minor] Use buffered output
Vsevolod Stakhov [Mon, 19 Oct 2020 11:23:09 +0000 (12:23 +0100)]
[Minor] Use buffered output

4 years ago[Minor] Ignore atime change in ev_stat
Vsevolod Stakhov [Sun, 18 Oct 2020 18:53:31 +0000 (19:53 +0100)]
[Minor] Ignore atime change in ev_stat

4 years agoMerge pull request #3521 from nh2/patch-1
Vsevolod Stakhov [Sun, 18 Oct 2020 18:35:11 +0000 (19:35 +0100)]
Merge pull request #3521 from nh2/patch-1

[Minor] whitelist_group.conf: Fix typo in description

4 years agoMerge pull request #3523 from moisseev/webui
Vsevolod Stakhov [Sat, 17 Oct 2020 18:48:35 +0000 (19:48 +0100)]
Merge pull request #3523 from moisseev/webui

[WebUI] Escape reserved HTML characters in editor

4 years ago[WebUI] Escape reserved HTML characters in editor 3523/head
moisseev [Sat, 17 Oct 2020 18:40:58 +0000 (21:40 +0300)]
[WebUI] Escape reserved HTML characters in editor

Issue: #3522

4 years agowhitelist_group.conf: Fix typo in description 3521/head
Niklas Hambüchen [Sat, 17 Oct 2020 00:51:23 +0000 (02:51 +0200)]
whitelist_group.conf: Fix typo in description

4 years agoMerge pull request #3520 from fatalbanana/map_reload
Vsevolod Stakhov [Fri, 16 Oct 2020 15:39:17 +0000 (16:39 +0100)]
Merge pull request #3520 from fatalbanana/map_reload

[Test] Map reload: improve test output

4 years ago[Test] Map reload: improve test output 3520/head
Andrew Lewis [Fri, 16 Oct 2020 10:43:03 +0000 (12:43 +0200)]
[Test] Map reload: improve test output

4 years ago[Minor] Force_actions: Another fix
Vsevolod Stakhov [Fri, 16 Oct 2020 10:25:44 +0000 (11:25 +0100)]
[Minor] Force_actions: Another fix

4 years ago[Fix] Rely on libev checks for file maps
Vsevolod Stakhov [Fri, 16 Oct 2020 10:20:23 +0000 (11:20 +0100)]
[Fix] Rely on libev checks for file maps

4 years agoMerge pull request #3519 from fatalbanana/selectors
Vsevolod Stakhov [Thu, 15 Oct 2020 20:34:39 +0000 (21:34 +0100)]
Merge pull request #3519 from fatalbanana/selectors

[Minor] Selectors: avoid returning empty list from extractors

4 years ago[Minor] Unbreak force actions
Vsevolod Stakhov [Thu, 15 Oct 2020 14:05:33 +0000 (15:05 +0100)]
[Minor] Unbreak force actions

4 years ago[Minor] Force_actions: Allow to set process_all flag + refactor slightly
Vsevolod Stakhov [Thu, 15 Oct 2020 11:49:55 +0000 (12:49 +0100)]
[Minor] Force_actions: Allow to set process_all flag + refactor slightly

4 years ago[Minor] Spamtrap: Allow bayes learning from spamtrap module
Vsevolod Stakhov [Thu, 15 Oct 2020 11:30:20 +0000 (12:30 +0100)]
[Minor] Spamtrap: Allow bayes learning from spamtrap module

Issue: #3516

4 years ago[Minor] Add special flag to continue filters processing on passthrough result
Vsevolod Stakhov [Thu, 15 Oct 2020 11:29:57 +0000 (12:29 +0100)]
[Minor] Add special flag to continue filters processing on passthrough result

4 years ago[Minor] Selectors: avoid returning empty list from extractors 3519/head
Andrew Lewis [Thu, 15 Oct 2020 10:41:21 +0000 (12:41 +0200)]
[Minor] Selectors: avoid returning empty list from extractors

4 years agoMerge pull request #3518 from fatalbanana/rbl
Vsevolod Stakhov [Wed, 14 Oct 2020 20:02:18 +0000 (21:02 +0100)]
Merge pull request #3518 from fatalbanana/rbl

[Fix] RBL: allow for multiple matches of the same label if types are …

4 years ago[Fix] Fix several issues with auth results producing
Vsevolod Stakhov [Wed, 14 Oct 2020 15:34:35 +0000 (16:34 +0100)]
[Fix] Fix several issues with auth results producing

4 years ago[Fix] Multimap: Fix scoring for combined maps
Vsevolod Stakhov [Wed, 14 Oct 2020 14:32:37 +0000 (15:32 +0100)]
[Fix] Multimap: Fix scoring for combined maps

4 years ago[Fix] RBL: allow for multiple matches of the same label if types are different 3518/head
Andrew Lewis [Wed, 14 Oct 2020 14:08:55 +0000 (16:08 +0200)]
[Fix] RBL: allow for multiple matches of the same label if types are different

 - Also log full hostname in case of unknown result

4 years ago[Rules] Remove broken rule
Vsevolod Stakhov [Wed, 14 Oct 2020 10:27:22 +0000 (11:27 +0100)]
[Rules] Remove broken rule

Pointed by: @citrin

4 years agoMerge pull request #3515 from fatalbanana/3514
Vsevolod Stakhov [Wed, 14 Oct 2020 09:08:11 +0000 (10:08 +0100)]
Merge pull request #3515 from fatalbanana/3514

[Fix] Honour `systemd` setting when logging to console (#3514)

4 years ago[Fix] Honour `systemd` setting when logging to console (#3514) 3515/head
Andrew Lewis [Wed, 14 Oct 2020 08:03:20 +0000 (10:03 +0200)]
[Fix] Honour `systemd` setting when logging to console (#3514)

4 years ago[Feature] Lua_dns_resolver: Add idna_convert_utf8 method
Vsevolod Stakhov [Tue, 13 Oct 2020 13:17:30 +0000 (14:17 +0100)]
[Feature] Lua_dns_resolver: Add idna_convert_utf8 method

4 years agoMerge pull request #3513 from fatalbanana/rbl_selectors
Vsevolod Stakhov [Tue, 13 Oct 2020 11:25:14 +0000 (12:25 +0100)]
Merge pull request #3513 from fatalbanana/rbl_selectors

[Feature] RBL: support use of multiple selectors

4 years ago[Fix] Html: Add entities collisions prevention logic (e.g. for mathml entities)
Vsevolod Stakhov [Tue, 13 Oct 2020 10:44:02 +0000 (11:44 +0100)]
[Fix] Html: Add entities collisions prevention logic (e.g. for mathml entities)

4 years ago[Minor] Fix entity
Vsevolod Stakhov [Tue, 13 Oct 2020 08:42:27 +0000 (09:42 +0100)]
[Minor] Fix entity

4 years ago[Fix] Lua_auth_results: Quote potentially bad values in AR header
Vsevolod Stakhov [Mon, 12 Oct 2020 16:10:45 +0000 (17:10 +0100)]
[Fix] Lua_auth_results: Quote potentially bad values in AR header

4 years ago[Minor] Exclude '@' from quote character
Vsevolod Stakhov [Mon, 12 Oct 2020 16:10:20 +0000 (17:10 +0100)]
[Minor] Exclude '@' from quote character

4 years ago[Minor] Lua_util: Add maybe_smtp_quote_value
Vsevolod Stakhov [Mon, 12 Oct 2020 16:01:41 +0000 (17:01 +0100)]
[Minor] Lua_util: Add maybe_smtp_quote_value

4 years ago[Feature] RBL: support use of multiple selectors 3513/head
Andrew Lewis [Mon, 12 Oct 2020 13:20:14 +0000 (15:20 +0200)]
[Feature] RBL: support use of multiple selectors

4 years ago[Fix] Arc: Fix CV check on signing
Vsevolod Stakhov [Mon, 12 Oct 2020 12:00:00 +0000 (13:00 +0100)]
[Fix] Arc: Fix CV check on signing

4 years ago[Fix] Arc: Fix signing of the broken ARC chains
Vsevolod Stakhov [Mon, 12 Oct 2020 11:59:40 +0000 (12:59 +0100)]
[Fix] Arc: Fix signing of the broken ARC chains

4 years ago[Minor] Lua_util: Fix round function
Vsevolod Stakhov [Sun, 11 Oct 2020 21:32:01 +0000 (22:32 +0100)]
[Minor] Lua_util: Fix round function

4 years ago[Minor] Fix quit command processing
Vsevolod Stakhov [Fri, 9 Oct 2020 14:06:26 +0000 (15:06 +0100)]
[Minor] Fix quit command processing

4 years ago[Feature] Support ping in milter mode
Vsevolod Stakhov [Fri, 9 Oct 2020 11:31:24 +0000 (12:31 +0100)]
[Feature] Support ping in milter mode

Requested by: @andryyy

4 years ago[Fix] Use dup fd in milter handler to avoid races with the proxy
Vsevolod Stakhov [Fri, 9 Oct 2020 11:31:03 +0000 (12:31 +0100)]
[Fix] Use dup fd in milter handler to avoid races with the proxy

4 years ago[Minor] Add case sensivity for file names in case of CT attribute
Vsevolod Stakhov [Thu, 8 Oct 2020 12:21:27 +0000 (13:21 +0100)]
[Minor] Add case sensivity for file names in case of CT attribute

4 years ago[Minor] Slightly improve logging
Vsevolod Stakhov [Thu, 8 Oct 2020 11:01:52 +0000 (12:01 +0100)]
[Minor] Slightly improve logging

4 years agoMerge pull request #3509 from lprat/mid.lua
Vsevolod Stakhov [Thu, 8 Oct 2020 10:50:35 +0000 (11:50 +0100)]
Merge pull request #3509 from lprat/mid.lua

[MID] check TLD hostname

4 years agofix util name 3509/head
Lionel [Wed, 7 Oct 2020 11:13:57 +0000 (13:13 +0200)]
fix util name

4 years agoMerge pull request #3510 from citrin/date-checks
Vsevolod Stakhov [Wed, 7 Oct 2020 11:09:04 +0000 (12:09 +0100)]
Merge pull request #3510 from citrin/date-checks

Date checks

4 years ago[Feature] Add sanity checks for actions thresholds
Vsevolod Stakhov [Wed, 7 Oct 2020 11:07:00 +0000 (12:07 +0100)]
[Feature] Add sanity checks for actions thresholds

Issue: #3506
Closes: #3506
4 years ago[Minor] Add option for DATE_IN_PAST/DATE_IN_FUTURE symbols 3510/head
Anton Yuzhaninov [Wed, 7 Oct 2020 10:57:37 +0000 (11:57 +0100)]
[Minor] Add option for DATE_IN_PAST/DATE_IN_FUTURE symbols

Value for an option is the number of full hours the date of the message
is in the past or future.

4 years ago[Feature] Add INVALID_DATE rule
Anton Yuzhaninov [Wed, 7 Oct 2020 09:33:07 +0000 (10:33 +0100)]
[Feature] Add INVALID_DATE rule

The symbol indicates that a date in Date: header has invalid format and
cannot be parsed by Rspamd.

4 years ago[Minor] Combine Date checks
Anton Yuzhaninov [Tue, 6 Oct 2020 17:17:33 +0000 (18:17 +0100)]
[Minor] Combine Date checks

Combine Date header checks into a single callback. No functional
changes.

4 years agofix potential error if fdtld and mdtld == nil
Lionel [Tue, 6 Oct 2020 17:12:31 +0000 (19:12 +0200)]
fix potential error if fdtld and mdtld == nil

4 years agoAdd MID check TLD domain
Lionel [Tue, 6 Oct 2020 16:51:10 +0000 (18:51 +0200)]
Add MID check TLD domain

4 years ago[Minor] Add CFWS clause to the BNF
Vsevolod Stakhov [Tue, 6 Oct 2020 14:56:33 +0000 (15:56 +0100)]
[Minor] Add CFWS clause to the BNF

4 years ago[Minor] Add some more error cases to the smtp date parsing
Vsevolod Stakhov [Tue, 6 Oct 2020 14:42:21 +0000 (15:42 +0100)]
[Minor] Add some more error cases to the smtp date parsing

4 years ago[Minor] Add erroring to smtp parse date
Vsevolod Stakhov [Tue, 6 Oct 2020 14:36:23 +0000 (15:36 +0100)]
[Minor] Add erroring to smtp parse date

4 years ago[Minor] Ratelimit: Add implicit score
Vsevolod Stakhov [Tue, 6 Oct 2020 08:53:02 +0000 (09:53 +0100)]
[Minor] Ratelimit: Add implicit score