georglauterbach
c18f0561bf
add Betterbird to `user_agent_thunderbird`
See https://github.com/Betterbird/thunderbird-patches/issues/125 for
reference.
This way, Rspamd will not add `FORGED_MUA_MOZILLA_MAIL_MSGID_UNKNOWN` to
mails sent perfectly find with Betterbird. Betterbird
(<https://www.betterbird.eu/ >) is an adjusted version of Thunderbird,
fixing many bugs and adding long-wanted features. It is a common and
well-known alternative to Thunderbird, so I think the addition is
justified.
1 year ago
twesterhever
08ce184740
[Enhancement] Add rule to detect Google Firebase URLs
1 year ago
twesterhever
fd6ebc9f80
[Enhancement] Make Google URL redirection rules productive
1 year ago
twesterhever
e39879962f
[Minor] Fix some whitespace issues
1 year ago
dpetrov67
4028247ac6
Fix pcall() argument in rspamd.lua
1 year ago
Kako, Chang
6d5db1e04e
[Fix] received: filtering of artificial header
1 year ago
Vsevolod Stakhov
038ed3f012
[Rules] Mid: Add MID_END_EQ_FROM_USER_PART rule
Issue: #4299
1 year ago
twesterhever
2a9abee4cb
[Minor] Regexp is case-insensitive, omit redundant characters
1 year ago
twesterhever
b1781565e2
[Minor] Fix rule comment
1 year ago
twesterhever
1f78100963
[Minor] Limit CIDv1 detection to 128 bytes
As requested by @vstakhov in https://github.com/rspamd/rspamd/pull/4310#pullrequestreview-1148226107 , try to limit the performance impact of this regular expression. However, given that there does not seem to be a hard limit for CIDv1s in IPFS itself, using an hashing algorithm with large output my permit miscreants to get around this rule.
1 year ago
twesterhever
ac6d1a6566
[Minor] Implement multibase prefixes for IPFS gateway URL rule
1 year ago
twesterhever
9ac1a75132
[Minor] Clarify that IPFS *gateway* URLs are likely considered malicious
1 year ago
Vsevolod Stakhov
4ae8a27cb1
[Minor] Use unicode property for currency detection
Issue: #4320
1 year ago
Vsevolod Stakhov
1803e71558
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely
1 year ago
twesterhever
39aeb394c8
[Enhancement] Add IPFS URL heuristic
1 year ago
Vsevolod Stakhov
05fd471df5
[Rework] Reiterate on priorities
1 year ago
Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
2 years ago
Vsevolod Stakhov
2fa0e126c7
[Minor] Update my email and the copyright year
2 years ago
Vsevolod Stakhov
968d318a0c
[Rules] Slightly reduce MULTIPLE_FROM score
2 years ago
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
2 years ago
Vsevolod Stakhov
e834cdb26d
[Minor] Oops, fix foldl call
2 years ago
Vsevolod Stakhov
c6f7b897d4
[Minor] Fix some issues in URI_COUNT_ODD rule
Issue: #4037
2 years ago
Vsevolod Stakhov
c23d728d75
[Minor] Fix rule
2 years ago
Vsevolod Stakhov
c1b3e4821a
[Rules] Remove ancient and inefficient rules
2 years ago
Vsevolod Stakhov
13dd78c687
[Rules] Fix old rules to stop global functions usage
2 years ago
Andrew Lewis
b7e3440024
[Feature] JSON endpoint for querying maps
2 years ago
Anton Yuzhaninov
98b205709f
[Minor] Skip bitcoin address check for very long words
Exclude very long words (which can be extracted e. g. from some text
attachments) from bitcoin address check to avoid excessive resource
usage.
2 years ago
Vsevolod Stakhov
d2ca787313
[Rules] Improve zero font rule
2 years ago
Sebastian Lipponer
44d83209e2
[Minor] Regexp: Extend upstream spam filter regexp
2 years ago
Anton Yuzhaninov
0248bd6615
[Rules] Micro-optimize X_PHP_EVAL
Remove /i flag from regexp string "eval()'d code" is always in
lower case. While here use long string format for readability.
2 years ago
Vsevolod Stakhov
dde092ef09
[Minor] Fix checks safety
3 years ago
Vsevolod Stakhov
7a181b1fe6
[Minor] Add safety guards
3 years ago
Andrew Lewis
8d22202dc9
[Fix] Fix an edge case in BITCOIN_ADDR rule
- when using PCRE
- and different address types are present
3 years ago
Vsevolod Stakhov
f1f2f27585
[Minor] Pet luacheck
3 years ago
Vsevolod Stakhov
ea35232b98
[Project] Rework html visibility rule
3 years ago
Vsevolod Stakhov
3e5cc9ef2d
[Rules] Fix zerofont rule (partially)
3 years ago
Anton Yuzhaninov
a4cfe5e270
[Rules] Extend OLD_X_MAILER
Add more old iPhone/iPad Mail versions to the regexp.
3 years ago
Anton Yuzhaninov
7c00342f85
[Rules] Extend FORGED_X_MAILER
Match in FORGED_X_MAILER fake iPhone Mail header with a random string in
place of iOS build number, e. g. iPhone Mail (WKN0M)
3 years ago
Vsevolod Stakhov
e40213cb54
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Issue: #3748
3 years ago
Vsevolod Stakhov
0b88d35b45
[Minor] Fix bit operations logic
3 years ago
Vsevolod Stakhov
0604bcc851
[Minor] Filter urls for R_SUSPICIOUS_URL check
Suggested by: @citrin
3 years ago
Vsevolod Stakhov
deda62a64f
[Minor] Use numeric bit and for checking flags
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
Anton Yuzhaninov
b3d5173446
[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Use stricter regexp to avoid false matches.
3 years ago
Vsevolod Stakhov
01c729e15e
[Rules] Fix FPs for CTYPE_MIXED_BOGUS
3 years ago
Vsevolod Stakhov
017d5a8d6a
[Rules] Fix HTTP_TO_HTTPS rule
3 years ago
Vsevolod Stakhov
8e9cde0829
[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images
3 years ago
Kako, Chang
b48c6fbdbf
Fix typos in code comments
3 years ago
Vsevolod Stakhov
c9e91f011a
[Minor] Bitcoin: Another fix for bleach32 regexp
3 years ago