Vsevolod Stakhov
c9e1a156cd
[Fix] Fix regexp rule
8 years ago
Vsevolod Stakhov
d3969bfefd
[Fix] Remove slow and unused rules `INVALID_EXIM_RECEIVED*`
8 years ago
Alexander Moisseev
a6bb206c6e
[Minor] Raise `LONG_SUBJ` threshold
8 years ago
Vsevolod Stakhov
eb1765564f
[Minor] Use utf8 length for subject
8 years ago
Alexander Moisseev
3d929c5bb3
Add LONG_SUBJ rule
8 years ago
Alexander Moisseev
029d2f4fa1
Don't trigger R_EMPTY_IMAGE on image links
as they covered with `HTML_SHORT_LINK_IMG_1` rule.
It should be safe for legitimate emails with images attached since `R_EMPTY_IMAGE` and `HTML_SHORT_LINK_IMG_1` won't be triggered at the same time any more.
8 years ago
Alexander Moisseev
af66bcae90
Don't trigger HTML_SHORT_LINK_IMG on small images
It's common for legitimate emails to have small image links (buttons, social networks junk e.t.c.)
8 years ago
Vsevolod Stakhov
7482b05931
Fix MISSING_MIMEOLE rule for modern OE
Issue: #514
Reported by: @ilyakruchinin
8 years ago
Vsevolod Stakhov
bd9428b149
Fix html images rules to reduce FP rates
Suggested by: @moisseev
Issue: #525
8 years ago
Vsevolod Stakhov
b775598428
More sanity checks
8 years ago
Vsevolod Stakhov
94f5e3dcf6
Add safety guard for rule
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
91d772ab6f
Fix rule when SMTP from is unavailable
8 years ago
Vsevolod Stakhov
436ccb77ec
Fix rules to avoid nil indexing
8 years ago
Vsevolod Stakhov
df4b3f74fc
Fix HEADER_FORGED_MDN rule
8 years ago
Vsevolod Stakhov
7ded13ccab
Add parsing to MDN rules
Issue: #480
8 years ago
Vsevolod Stakhov
1678075da3
Add rule to detect spammers attempts to cheat mime parsing
8 years ago
Vsevolod Stakhov
3a2a55244f
Use `task:get_from()` to get sender
8 years ago
Vsevolod Stakhov
be5ef60eed
Add support for forged confirmation headers
Issue: #480
Reported by: @AdUser
Patch by: @AdUser
8 years ago
Vsevolod Stakhov
f9cdbed9de
Add `BROKEN_HEADERS` rule
8 years ago
Alexander Moisseev
9703e506a9
Add new Message-ID regexp for Thunderbird
Thunderbird version 46 and later is using new securely random Message-ID to avoid fingerprinting.
https://bugzilla.mozilla.org/show_bug.cgi?id=902580
SeaMonkey (at least currentnightly build 2.42a1) is not affected by this change.
8 years ago
Vsevolod Stakhov
a136f68143
Remove R_TO_SEEMS_AUTO as it generates a lot of FP
8 years ago
Vsevolod Stakhov
b840e3afa4
Add SUBJ_ALL_CAPS rule
8 years ago
Vsevolod Stakhov
5a12f23f90
Add R_SUSPICIOUS_URL rule that detects obfusicated URL's
8 years ago
Vsevolod Stakhov
c4bc17b845
SUSPICIOUS_IMAGES now trigger merely for embedded images
8 years ago
Vsevolod Stakhov
af1be71be0
Improve empty image rule.
8 years ago
Vsevolod Stakhov
e1c695b059
Fix parsing of headers
8 years ago
Vsevolod Stakhov
fb713b23a2
Add module to get data from HTTP headers
Issue: #285
Reported by: @msimerson
8 years ago
Vsevolod Stakhov
0ea784ef25
Add `R_SUSPICIOUS_IMAGES` rule.
8 years ago
Vsevolod Stakhov
c32f595546
Do not add R_UNDISC_RCPT when 'To' is missing.
Issue: #387
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
2e549cbde6
Rework HTML rules.
9 years ago
Vsevolod Stakhov
c82ed6c214
Rework MISSING_SUBJECT rule.
Issue: #343
Reported by: @moisseev
9 years ago
Vsevolod Stakhov
fb13363c7c
Move misclenaous rules to a separate file.
9 years ago
Vsevolod Stakhov
37e90507eb
Move hfilter to plugins.
9 years ago
Vsevolod Stakhov
4135a3b422
Move lua rules to rules dir.
9 years ago