Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
vor 2 Jahren
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
vor 2 Jahren
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
vor 3 Jahren
Vsevolod Stakhov
af9b355e0a
[Minor] Add some more scores
vor 4 Jahren
Vsevolod Stakhov
fd3caeb72c
[Minor] Fix domain check
vor 4 Jahren
Vsevolod Stakhov
b711239c11
Revert "[Fix] Fix empty prefilters that require mime structures"
This reverts commit c3c8d4d133
.
vor 4 Jahren
Vsevolod Stakhov
c3c8d4d133
[Fix] Fix empty prefilters that require mime structures
vor 4 Jahren
Vsevolod Stakhov
2c7875249b
[CritFix] Fix whitelisting when both spf and dkim are required to be valid
vor 4 Jahren
Vsevolod Stakhov
3b808ddf62
[Minor] Pet luacheck
vor 5 Jahren
Vsevolod Stakhov
43dfa08ded
[Fix] Do not blacklist mail by SPF/DMARC for local/authed users
Issue: #2871
vor 5 Jahren
Vsevolod Stakhov
c9f44a6f35
[Fix] Use tld when looking for DKIM domains
Issue: #2646
vor 5 Jahren
Vsevolod Stakhov
c5721acc86
[Minor] Remove stupid debugging
vor 5 Jahren
Vsevolod Stakhov
b9abc224c7
[Rework] Rework and fix whitelist plugin
vor 5 Jahren
Vsevolod Stakhov
04c99fbc2f
[Minor] Fix scoring for the blacklist rules
vor 5 Jahren
Vsevolod Stakhov
b691da311f
[Minor] Fix blacklist option in whitelist rules
vor 5 Jahren
Vsevolod Stakhov
216b0acc37
[Minor] Fix symbol registration
vor 5 Jahren
Vsevolod Stakhov
181c700414
[Feature] Extend whitelisting options
vor 5 Jahren
Andrey Igoshin
a5c51c24d5
support for non-TLD domains
vor 5 Jahren
Andrey Igoshin
cadbc3d724
support for non-TLD domains
vor 6 Jahren
Vsevolod Stakhov
5df3eabd43
[Minor] Silence warnings
vor 6 Jahren
Vsevolod Stakhov
d54cddeeee
[Project] Encourage dependencies registration by name only
vor 6 Jahren
Vsevolod Stakhov
f5e2a84b69
[Feature] Store plugins state
vor 6 Jahren
Vsevolod Stakhov
def15a7904
[Fix] Fix blacklists and DMARC in whitelist
Issue: #1824
vor 6 Jahren
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.
vor 6 Jahren
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
vor 7 Jahren
Vsevolod Stakhov
40f282236a
[Fix] Fix lists in whitelist plugin
vor 7 Jahren
Andrew Lewis
67b7949e35
[Minor] Fix tests
vor 7 Jahren
Andrew Lewis
d94f142388
[Fix] Deal with lists of maps in whitelist module
vor 7 Jahren
Andrew Lewis
f9de08822c
[Minor] Avoid some table lookups in Lua parts
vor 7 Jahren
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
vor 7 Jahren
Andrew Lewis
ef834351ae
[Minor] Remove more globals
vor 7 Jahren
Andrew Lewis
68d3c2f3f3
Revert "[Feature] Add common way to disable Lua modules"
This reverts commit f552edd887
.
Conflicts:
src/plugins/lua/antivirus.lua
src/plugins/lua/asn.lua
src/plugins/lua/dcc.lua
src/plugins/lua/dmarc.lua
src/plugins/lua/emails.lua
src/plugins/lua/forged_recipients.lua
src/plugins/lua/greylist.lua
src/plugins/lua/hfilter.lua
src/plugins/lua/ip_score.lua
src/plugins/lua/maillist.lua
src/plugins/lua/mime_types.lua
src/plugins/lua/multimap.lua
src/plugins/lua/once_received.lua
src/plugins/lua/ratelimit.lua
src/plugins/lua/rbl.lua
src/plugins/lua/replies.lua
src/plugins/lua/rspamd_update.lua
src/plugins/lua/trie.lua
src/plugins/lua/whitelist.lua
vor 7 Jahren
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
vor 7 Jahren
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
vor 7 Jahren
Vsevolod Stakhov
d328495763
[Feature] Add 'blacklist' and 'strict' modes for whitelists
vor 8 Jahren
Vsevolod Stakhov
0cdf354cb4
[Feature] Use new version of register_symbol in rspamd plugins
vor 8 Jahren
Andrew Lewis
8c9972722e
[Minor] Fix iterator
vor 8 Jahren
Vsevolod Stakhov
11dc21d4c6
[Feature] Rework whitelist module
- Now we check different elements for different checks
- MIME from for DMARC
- DKIM signature domain for DKIM
- SMTP from or HELO for SPF
vor 8 Jahren
Vsevolod Stakhov
1f9916144e
Use has symbol when no need to get extra data for a symbol
vor 8 Jahren
Andrew Lewis
f2de42ff7a
Drop unneeded `require`
vor 8 Jahren
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
vor 8 Jahren
Vsevolod Stakhov
1714e4eb3d
Do not parse URLs for getting TLD in lua
vor 8 Jahren
Vsevolod Stakhov
dc9008931b
Add descriptions for whitelist maps.
vor 8 Jahren
Vsevolod Stakhov
bc77897b3a
Check DKIM domain when whitelisting by DKIM signature.
vor 8 Jahren
Vsevolod Stakhov
87cdd1fa3a
Use tld for whitelisting.
vor 8 Jahren
Vsevolod Stakhov
0c8b085913
Fix wrongly placed g_string_free.
vor 8 Jahren
Vsevolod Stakhov
21d8c9a4f2
Allow optional multiplier for whitelists.
vor 8 Jahren
Vsevolod Stakhov
e9a9939878
Add initial version of the whitelist plugin.
vor 8 Jahren
Vsevolod Stakhov
a235d34370
Remove broken whitelist module.
vor 9 Jahren
Vsevolod Stakhov
f78e460fed
Adopt whitelist plugin.
vor 9 Jahren