Dmitriy Alekseev
db03a55444
Fix error in headers_checks.lua
2024-04-19 21:33:44 +03:00
twesterhever
434f9f79e2
[Enhancement] Add more symbols for Reply-To header characteristics
2024-03-24 17:24:24 +00:00
Andrew Lewis
c17ffcd4e5
[Rules] Blank spam detection
2023-10-13 17:01:50 +02:00
Vsevolod Stakhov
662145d055
[Minor] Reformat all Lua code, no functional changes
2023-08-07 11:41:28 +01:00
twesterhever
68d9f76dc1
[Minor] Improve various rule descriptions
2023-05-26 11:57:19 +00:00
Kako, Chang
6d5db1e04e
[Fix] received: filtering of artificial header
2023-01-12 14:12:01 +08:00
Vsevolod Stakhov
2fa0e126c7
[Minor] Update my email and the copyright year
2022-03-25 20:16:35 +00:00
Vsevolod Stakhov
968d318a0c
[Rules] Slightly reduce MULTIPLE_FROM score
2022-03-23 20:25:47 +00:00
Josh Soref
2b8e6958f4
Spelling ( #4086 )
...
[Rework] Massive spelling fix from @jsoref
2022-02-22 22:01:28 +00:00
Vsevolod Stakhov
e40213cb54
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
...
Issue: #3748
2021-05-19 15:12:33 +01:00
Andrew Lewis
8a2ba3a5c3
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
2021-04-29 10:31:59 +02:00
Anton Yuzhaninov
8a5448883e
[Rules] Add raw addresses to MULTIPLE_FROM options
...
It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>. While here simplify condition.
2021-04-27 16:53:41 +01:00
Vsevolod Stakhov
01c729e15e
[Rules] Fix FPs for CTYPE_MIXED_BOGUS
2021-04-11 21:13:42 +01:00
Anton Yuzhaninov
a9e9703a89
[Minor] Use task:has_header instead of task:get_header
...
Use task:has_header() to check if header is exists.
2020-12-22 13:05:58 +00:00
Anton Yuzhaninov
a7aa9adc0c
[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module
...
FAKE_REPLY_C rule no longer works because MUA it used are no longer used
(and ones which are used changed headers they add). In theory one can
test all popular modern MUA and see which add only References, which
only In-Reply-To and which add both headers. But it will be a lot of
work to maintain such rule up to date. It still has a small number of
hits, but mostly because some spammers use old X-Mailer headers. This
should be addressed separately.
While here re-create FAKE_REPLY as a regexp module rule - this way it
should be more efficient.
2020-12-12 19:30:46 +00:00
Anton Yuzhaninov
e45b8715fe
[Fix] Fix FROM_NEQ_ENVFROM
...
Regression was introduced in 2367506006
2020-05-01 14:03:17 +01:00
Jan Smutny
1795539829
rules/headers_checks.lua: add [ENV]FROM_INVALID
2020-04-19 00:22:14 +02:00
Jan Smutny
2367506006
rules/headers_checks.lua: make CHECK_FROM callback a bit more efficient
2020-04-19 00:22:14 +02:00
Anton Yuzhaninov
d83e366e88
[Minor] Improve MISSING_MIME_VERSION rule
...
Previous condition have a complex condition which prevented adding the
symbol for some MIME messages without MIME-Version header.
2020-03-17 11:38:18 +00:00
Steve Freegard
3e0ceea8e0
Remove type='mime' and move MIME rules into their own group
2019-07-03 11:51:24 +01:00
Steve Freegard
63c45fc5aa
Add MIME_BASE64_TEXT_BOGUS rule
2019-06-29 00:30:17 +01:00
Vsevolod Stakhov
eb96ca6649
[Minor] Add some descriptions
2019-06-27 19:37:13 +01:00
heraklit256
7a1a11ccc5
improve descriptions for HAS_X_PRIO_* rules
2019-03-05 17:27:11 +01:00
heraklit256
9795584120
improve descriptions for RCVD_COUNT_* rules
2019-03-05 17:24:22 +01:00
heraklit256
323580e25d
unify rules scores and weights
2019-03-05 17:17:53 +01:00
Vsevolod Stakhov
da7b65e4b5
[Minor] Relax CTYPE_MISSING_DISPOSITION rule for pgp encryption
...
Issue: #2706
Closes : #2706
2019-01-09 18:29:40 +00:00
Vsevolod Stakhov
d9f3f32336
[Minor] Add some mime only rules
2019-01-07 15:41:23 +00:00
Vsevolod Stakhov
d31f486d55
[Fix] Fix groups mess
2018-09-29 14:51:29 +01:00
Vsevolod Stakhov
e241197bb9
[Minor] Reduce default multiplier for Date header
2018-07-21 11:58:48 +01:00
Vsevolod Stakhov
8621808de7
[Rules] Add MULTIPLE_FROM rule
2018-07-17 14:34:58 +01:00
Vsevolod Stakhov
18af41ce00
[Rules] Improve MULTIPLE_UNIQUE_HEADERS rule
2018-07-17 14:34:45 +01:00
Steve Freegard
6270b42ac3
Eliminate false-positive on REPLYTO_EQ_TO_ADDR
2018-06-22 16:45:33 +01:00
Michal Adamek
a60be6c6a5
Fixed typo
2018-05-04 11:50:41 +02:00
Vsevolod Stakhov
51e2a8c056
[Fix] Fix usage of util.parse_mail_address
2018-03-31 17:48:50 +01:00
Steve Freegard
208ef50997
Add XM_CASE rule
2018-03-19 11:56:20 +00:00
Steve Freegard
a91100df14
Improve REPLYTO_EQ_TO_ADDR based on corpus testing
2018-03-19 11:46:05 +00:00
Vsevolod Stakhov
7329270085
[Minor] Fix dependency
2018-03-15 18:00:24 +00:00
Vsevolod Stakhov
5321190dc5
[Project] Add some generic code to squeeze lua rules
2018-03-15 16:24:44 +00:00
Steve Freegard
1cea94cbfe
Add REPLYTO_EQ_TO_ADDR rule
2018-01-30 18:24:19 +00:00
Andrew Lewis
97ab1a1a08
[Minor] CHECK_FROM rule: avoid indexing of nil
2018-01-17 18:49:53 +02:00
Vsevolod Stakhov
48a8489567
[Fix] Cleanup mess with groups
2017-11-11 19:06:06 +00:00
Alexander Moisseev
130f16c19f
[Minor] Reduce MIME_BASE64_TEXT score
2017-08-02 17:00:53 +03:00
Vsevolod Stakhov
e9261b7c8e
[Minor] Some more minor fixes to lua
2017-07-29 16:22:46 +01:00
Steve Freegard
b5f47a20bb
Improve CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules
2017-07-27 13:22:36 +01:00
Andrew Lewis
cfc78aeb4a
[Fix] Header checks: REPLYTO_UNPARSEABLE rule
2017-07-10 18:47:15 +02:00
Andrew Lewis
39cf5ce1d8
[Fix] Header checks: Fix get_raw_header method
2017-07-10 18:40:01 +02:00
Julien Schmidt
df802d3790
[Minor] Do not punish OpenPGP/MIME attachments
...
Fixes #1655
2017-05-30 06:24:56 +08:00
Andrew Lewis
f6bb5437ea
[Minor] Relax CTYPE_MISSING_DISPOSITION rule
2017-05-18 13:29:39 +02:00
Vsevolod Stakhov
3b8eb470b5
[Fix] Fix REPLYTO_UNPARSEABLE rule
2017-04-28 12:48:52 +01:00
Vsevolod Stakhov
07f4054d92
[Feature] Add rules to detect bad 8bit characters in From and To
2017-04-25 13:44:16 +01:00