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