moisseev
69f50374bb
[Conf] Introduce maps.d directories
4 years ago
Vsevolod Stakhov
d8ad13f6da
[Minor] Oops, fix call name
4 years ago
Vsevolod Stakhov
5ccaf0c78a
[Minor] Fix plugins to work with empty tasks
4 years ago
Vsevolod Stakhov
b04116a10a
[Minor] Fix misprint
5 years ago
Vsevolod Stakhov
723e9e9633
[Feature] Greylist: Allow to disable greylisting depending on symbols
5 years ago
Vsevolod Stakhov
fe8d8e6e2a
[Minor] Fix new greylist records case
5 years ago
Vsevolod Stakhov
839f2a48ff
[Fix] Greylist: fix records checking
5 years ago
Vsevolod Stakhov
2df03ee50f
[Fix] Fix greylisting log message and logic
5 years ago
Vsevolod Stakhov
9508d87e3c
[Minor] Fix greylisting messages
Issue: #2660
5 years ago
Vsevolod Stakhov
0125a1a771
[Minor] Include module name when setting pre result
5 years ago
Vsevolod Stakhov
7f169bd819
[Minor] Avoid pre-result overriding
5 years ago
Vsevolod Stakhov
b3e4fdec18
[Fix] Rework logic of actions setting
6 years ago
Andrew Lewis
4915488566
[Fix] Fix various modules in case of empty message
6 years ago
Vsevolod Stakhov
d27d7084c5
[Conf] Use dedicated rspamd.com subdomains
6 years ago
Vsevolod Stakhov
e3e15e12d0
[Minor] Unify greylisting setup
6 years ago
Vsevolod Stakhov
f5e2a84b69
[Feature] Store plugins state
6 years ago
Vsevolod Stakhov
3616d6326b
[Fix] Greylisting set phase is not idempotent
6 years ago
Andrew Lewis
286ed38486
[Minor] Stop expecting hostname to be "unknown"
6 years ago
Alexander Moisseev
7e886ac3e2
[Fix] Fix empty threshold check in greylisting module
6 years ago
Vsevolod Stakhov
8994e8b036
[Fix] Use greylisting threshold in greylisting module
6 years ago
Vsevolod Stakhov
7b902c00bc
[Minor] Set idempotent postfilters
6 years ago
Jean-Louis Dupond
9962233318
[Fix] Don't use whitelist/greylist maps as regexp, but as map
In whitelist & greylist module, the domain files (like spf_dkim_whitelist.inc, etc) were read as regexp map.
This caused the following false whitelists:
WHITELIST_SPF_DKIM(-3)[onmicrosoft.com]
this while only 'microsoft.com' was in the list!
Reading the maps as 'map'/'hash' instead of 'regexp' fixes the issue.
6 years ago
Vsevolod Stakhov
8b14fbab1e
[Feature] Skip updates for messages scanned via controller
Rationale: controller worker is not designed to perform scan jobs,
hence, we check for `Password` header or check `User-Agent` for `rspamc`
and skip some of rules parts:
- DMARC reports
- Greylisting
- Ratelimits
- Ip score update
- Clickhouse export
6 years ago
Vsevolod Stakhov
011de521fb
[Minor] Convert from rspamd_text
7 years ago
Vsevolod Stakhov
4c63ac0b3f
[Fix] Fix rspamc detection in greylist module
7 years ago
Vsevolod Stakhov
8780f6f9d7
[Minor] Add Lua 5.3 workaround
7 years ago
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
7 years ago
Vsevolod Stakhov
f0109cb80d
[Minor] Allow to append greylist end time to message reported
7 years ago
Andrew Lewis
c2c22ebd53
[Minor] Fix typos
7 years ago
Vsevolod Stakhov
dcfc47f453
[Minor] Removed by a mistake
7 years ago
Vsevolod Stakhov
e0223b51ee
[Minor] Remove some unused macros
7 years ago
Vsevolod Stakhov
9836fe5686
[Feature] Stat greylisted messages as greylisted not soft-rejected
7 years ago
Andrew Lewis
289f5ffa7f
[Minor] Greylisting: fix greylist_min_score
7 years ago
Andrew Lewis
3239783422
[Feature] Greylist: Support excluding low-scoring messages from greylisting
7 years ago
Vsevolod Stakhov
c9064c6d06
[Minor] Use regexps for greylist whitelist
7 years ago
Andrew Lewis
9cc242cebd
[Fix] Greylist: Suppress greylist action for whitelisted hosts too
7 years ago
Vsevolod Stakhov
f4eccbbe6d
[Minor] Slightly increase greylist plugin postfilter priority
7 years ago
Andrew Lewis
7197962939
[Minor] Additional log message for greylist plugin
7 years ago
Alexander Moisseev
0a56825bb0
[Fix] Do not set pre-result and update records for no `Queue-ID` messages
7 years ago
Andrew Lewis
c0416f4d4a
[Minor] Reduce priority for greylist/ratelimit modules
7 years ago
Vsevolod Stakhov
e6b6f6bb9c
[Rework] Use new maps add function
7 years ago
Andrew Lewis
fd4d021a48
[Minor] Use new logging API everywhere
7 years ago
Andrew Lewis
16f2de7c82
[Minor] Move upstream handling into rspamd_redis_make_request
7 years ago
Andrew Lewis
56cc6c85ad
[Minor] Fix upstreams handling
7 years ago
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
7 years ago
AL
e963d97882
[Minor] Update sample whitelist for greylist
7 years ago
AL
c5b1f1bc22
[Minor] Further simplify conditionals
[Minor] Further simplify conditionals
7 years ago
Alexander Moisseev
7fd12bdbde
[Minor] Further simplify conditionals
7 years ago
AL
4cfb22716f
Fix if-else condition
7 years ago
AL
cdfb0245ba
Clearer greylist module code
7 years ago