Andrew Lewis
c45aaab61f
[Minor] Some linting for rules
7 years ago
Steve Freegard
6f8e6ac68b
Add compromised_host rules
7 years ago
Steve Freegard
e36bf64097
New rules
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
fb713b23a2
Add module to get data from HTTP headers
Issue: #285
Reported by: @msimerson
8 years ago
Vsevolod Stakhov
b887f717e8
Load legacy `lua/rspamd.local.lua`
8 years ago
Vsevolod Stakhov
f80eb1003e
Add missing slashes.
9 years ago
Vsevolod Stakhov
fb13363c7c
Move misclenaous rules to a separate file.
9 years ago
Vsevolod Stakhov
4135a3b422
Move lua rules to rules dir.
9 years ago
Vsevolod Stakhov
ff8400a269
Add improved version of R_EMPTY_IMAGE.
9 years ago
Vsevolod Stakhov
34bed7350e
Start work on new HTML rules.
9 years ago
Vsevolod Stakhov
7faea5fe77
Misprint.
9 years ago
Vsevolod Stakhov
c1a30b78b2
Remove debug.
9 years ago
Vsevolod Stakhov
15b8293ffc
Do not use reconf for pure lua functions.
9 years ago
Vsevolod Stakhov
c9ed268e92
Rework R_PARTS_DIFFER rule.
9 years ago
Andrew Lewis
b0ed876d0a
Minor nonsense
9 years ago
Vsevolod Stakhov
82f6ff61d5
Clarify copyright for lua plugins.
9 years ago
Alexey AL
48621d03c6
Update rspamd.lua
9 years ago
Alexey AL
b460a002a0
Fix: if not exist Date-header
9 years ago
Vsevolod Stakhov
c4905fa38f
Increase limit for DATE_IN_FUTURE to 2hr.
Suggested by: @citrin
9 years ago
Vsevolod Stakhov
3f78f1f721
Fix DATE_IN_PAST and DATE_IN_FUTURE
9 years ago
Vsevolod Stakhov
d224a23261
Adopt config.
10 years ago
Vsevolod Stakhov
7c5fd966bf
Update default configs.
10 years ago
Vsevolod Stakhov
d667c6b4ac
Use more permissive value for parts_differ.
10 years ago
Vsevolod Stakhov
928d072cec
Remove HELO_NOT_FQDN as it exists in hfilter.
Submitted by: AL
10 years ago
Vsevolod Stakhov
08caf16449
Add hfilter - an advanced set of helo and hostname checks.
Submitted by: AL
10 years ago
Alexey
35a4f68f3c
Add rule for HELO host FQDN check
10 years ago
Vsevolod Stakhov
4335e5a8ce
* Add classifiers pre-selection script
13 years ago
Vsevolod Stakhov
1bda9f428a
* Add rules for message's date
13 years ago
Vsevolod Stakhov
bbc68360a1
* Improve forged_recipients plugin [1]
Add loading of local rules to rspamd.lua [1]
[1] Suggested by Victor Ustugov
13 years ago
Vsevolod Stakhov
8f97c6a684
Polish sample config.
13 years ago
Vsevolod Stakhov
34ae83f015
* Add rspamd_log variable to lua plugins to access logging functions
* Each part in rspamd task now can have parent part
* Check for parts distance only for multipart/alternative subparts
* Do not check attachements even if they are text (but attached as file)
* Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
* Add ability to turn on debug for specific symbols
* Add ability to configure dns timeouts and dns retransmits in config file
14 years ago
Vsevolod Stakhov
2d8eebcf7a
* Bugfixes:
- handle '\' characters in lua strings correctly
- fix lua initialization
- avoid of using global lua state (global L)
- fix listen sockets hash to allow multiply workers of same type but on different listen sockets
- fix modules options inserting to allow multiply options of the same name
- fix parsing of lua options
- fix lua rules
14 years ago
Vsevolod Stakhov
d4b35de431
* Add lua config for most common rules
* Reset lua state while reloading
14 years ago