Vsevolod Stakhov
e40213cb54
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Issue: #3748
3 years ago
Andrew Lewis
8a2ba3a5c3
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
3 years ago
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.
3 years ago
Vsevolod Stakhov
01c729e15e
[Rules] Fix FPs for CTYPE_MIXED_BOGUS
3 years ago
Anton Yuzhaninov
a9e9703a89
[Minor] Use task:has_header instead of task:get_header
Use task:has_header() to check if header is exists.
3 years ago
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.
3 years ago
Anton Yuzhaninov
e45b8715fe
[Fix] Fix FROM_NEQ_ENVFROM
Regression was introduced in 2367506006
4 years ago
Jan Smutny
1795539829
rules/headers_checks.lua: add [ENV]FROM_INVALID
4 years ago
Jan Smutny
2367506006
rules/headers_checks.lua: make CHECK_FROM callback a bit more efficient
4 years ago
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.
4 years ago
Steve Freegard
3e0ceea8e0
Remove type='mime' and move MIME rules into their own group
5 years ago
Steve Freegard
63c45fc5aa
Add MIME_BASE64_TEXT_BOGUS rule
5 years ago
Vsevolod Stakhov
eb96ca6649
[Minor] Add some descriptions
5 years ago
heraklit256
7a1a11ccc5
improve descriptions for HAS_X_PRIO_* rules
5 years ago
heraklit256
9795584120
improve descriptions for RCVD_COUNT_* rules
5 years ago
heraklit256
323580e25d
unify rules scores and weights
5 years ago
Vsevolod Stakhov
da7b65e4b5
[Minor] Relax CTYPE_MISSING_DISPOSITION rule for pgp encryption
Issue: #2706
Closes: #2706
5 years ago
Vsevolod Stakhov
d9f3f32336
[Minor] Add some mime only rules
5 years ago
Vsevolod Stakhov
d31f486d55
[Fix] Fix groups mess
5 years ago
Vsevolod Stakhov
e241197bb9
[Minor] Reduce default multiplier for Date header
6 years ago
Vsevolod Stakhov
8621808de7
[Rules] Add MULTIPLE_FROM rule
6 years ago
Vsevolod Stakhov
18af41ce00
[Rules] Improve MULTIPLE_UNIQUE_HEADERS rule
6 years ago
Steve Freegard
6270b42ac3
Eliminate false-positive on REPLYTO_EQ_TO_ADDR
6 years ago
Michal Adamek
a60be6c6a5
Fixed typo
6 years ago
Vsevolod Stakhov
51e2a8c056
[Fix] Fix usage of util.parse_mail_address
6 years ago
Steve Freegard
208ef50997
Add XM_CASE rule
6 years ago
Steve Freegard
a91100df14
Improve REPLYTO_EQ_TO_ADDR based on corpus testing
6 years ago
Vsevolod Stakhov
7329270085
[Minor] Fix dependency
6 years ago
Vsevolod Stakhov
5321190dc5
[Project] Add some generic code to squeeze lua rules
6 years ago
Steve Freegard
1cea94cbfe
Add REPLYTO_EQ_TO_ADDR rule
6 years ago
Andrew Lewis
97ab1a1a08
[Minor] CHECK_FROM rule: avoid indexing of nil
6 years ago
Vsevolod Stakhov
48a8489567
[Fix] Cleanup mess with groups
6 years ago
Alexander Moisseev
130f16c19f
[Minor] Reduce MIME_BASE64_TEXT score
6 years ago
Vsevolod Stakhov
e9261b7c8e
[Minor] Some more minor fixes to lua
7 years ago
Steve Freegard
b5f47a20bb
Improve CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules
7 years ago
Andrew Lewis
cfc78aeb4a
[Fix] Header checks: REPLYTO_UNPARSEABLE rule
7 years ago
Andrew Lewis
39cf5ce1d8
[Fix] Header checks: Fix get_raw_header method
7 years ago
Julien Schmidt
df802d3790
[Minor] Do not punish OpenPGP/MIME attachments
Fixes #1655
7 years ago
Andrew Lewis
f6bb5437ea
[Minor] Relax CTYPE_MISSING_DISPOSITION rule
7 years ago
Vsevolod Stakhov
3b8eb470b5
[Fix] Fix REPLYTO_UNPARSEABLE rule
7 years ago
Vsevolod Stakhov
07f4054d92
[Feature] Add rules to detect bad 8bit characters in From and To
7 years ago
Vsevolod Stakhov
0a614370e1
[Minor] Lower CTYPE_MIXED_BOGUS score
7 years ago
Steve Freegard
9aa169e092
New rules
7 years ago
Steve Freegard
785481f6d5
Rules updates
7 years ago
Andrew Lewis
7d85a76c37
[Minor] Fix typo
7 years ago
Andrew Lewis
6565be5ee6
[Minor] Silence warnings
7 years ago
Steve Freegard
5ccc100322
Fix FROM_NO_DN and TO_DN_NONE
7 years ago
Vsevolod Stakhov
355526a8d1
[Fix] RCPT_COUNT fixes
7 years ago
Vsevolod Stakhov
84b8e138d2
[Minor] Fix dependency name
7 years ago
Vsevolod Stakhov
9013ade316
[Fix] Rework HAS_X_PRIO rule to match symbols conventions
7 years ago