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.
vor 1 Jahr
twesterhever
08ce184740
[Enhancement] Add rule to detect Google Firebase URLs
vor 1 Jahr
twesterhever
fd6ebc9f80
[Enhancement] Make Google URL redirection rules productive
vor 1 Jahr
twesterhever
e39879962f
[Minor] Fix some whitespace issues
vor 1 Jahr
dpetrov67
4028247ac6
Fix pcall() argument in rspamd.lua
vor 1 Jahr
Kako, Chang
6d5db1e04e
[Fix] received: filtering of artificial header
vor 1 Jahr
Vsevolod Stakhov
038ed3f012
[Rules] Mid: Add MID_END_EQ_FROM_USER_PART rule
Issue: #4299
vor 1 Jahr
twesterhever
2a9abee4cb
[Minor] Regexp is case-insensitive, omit redundant characters
vor 1 Jahr
twesterhever
b1781565e2
[Minor] Fix rule comment
vor 1 Jahr
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.
vor 1 Jahr
twesterhever
ac6d1a6566
[Minor] Implement multibase prefixes for IPFS gateway URL rule
vor 1 Jahr
twesterhever
9ac1a75132
[Minor] Clarify that IPFS *gateway* URLs are likely considered malicious
vor 1 Jahr
Vsevolod Stakhov
4ae8a27cb1
[Minor] Use unicode property for currency detection
Issue: #4320
vor 1 Jahr
Vsevolod Stakhov
1803e71558
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely
vor 1 Jahr
twesterhever
39aeb394c8
[Enhancement] Add IPFS URL heuristic
vor 1 Jahr
Vsevolod Stakhov
05fd471df5
[Rework] Reiterate on priorities
vor 1 Jahr
Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
vor 2 Jahren
Vsevolod Stakhov
2fa0e126c7
[Minor] Update my email and the copyright year
vor 2 Jahren
Vsevolod Stakhov
968d318a0c
[Rules] Slightly reduce MULTIPLE_FROM score
vor 2 Jahren
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
vor 2 Jahren
Vsevolod Stakhov
e834cdb26d
[Minor] Oops, fix foldl call
vor 2 Jahren
Vsevolod Stakhov
c6f7b897d4
[Minor] Fix some issues in URI_COUNT_ODD rule
Issue: #4037
vor 2 Jahren
Vsevolod Stakhov
c23d728d75
[Minor] Fix rule
vor 2 Jahren
Vsevolod Stakhov
c1b3e4821a
[Rules] Remove ancient and inefficient rules
vor 2 Jahren
Vsevolod Stakhov
13dd78c687
[Rules] Fix old rules to stop global functions usage
vor 2 Jahren
Andrew Lewis
b7e3440024
[Feature] JSON endpoint for querying maps
vor 2 Jahren
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.
vor 2 Jahren
Vsevolod Stakhov
d2ca787313
[Rules] Improve zero font rule
vor 2 Jahren
Sebastian Lipponer
44d83209e2
[Minor] Regexp: Extend upstream spam filter regexp
vor 2 Jahren
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.
vor 2 Jahren
Vsevolod Stakhov
dde092ef09
[Minor] Fix checks safety
vor 3 Jahren
Vsevolod Stakhov
7a181b1fe6
[Minor] Add safety guards
vor 3 Jahren
Andrew Lewis
8d22202dc9
[Fix] Fix an edge case in BITCOIN_ADDR rule
- when using PCRE
- and different address types are present
vor 3 Jahren
Vsevolod Stakhov
f1f2f27585
[Minor] Pet luacheck
vor 3 Jahren
Vsevolod Stakhov
ea35232b98
[Project] Rework html visibility rule
vor 3 Jahren
Vsevolod Stakhov
3e5cc9ef2d
[Rules] Fix zerofont rule (partially)
vor 3 Jahren
Anton Yuzhaninov
a4cfe5e270
[Rules] Extend OLD_X_MAILER
Add more old iPhone/iPad Mail versions to the regexp.
vor 3 Jahren
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)
vor 3 Jahren
Vsevolod Stakhov
e40213cb54
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Issue: #3748
vor 3 Jahren
Vsevolod Stakhov
0b88d35b45
[Minor] Fix bit operations logic
vor 3 Jahren
Vsevolod Stakhov
0604bcc851
[Minor] Filter urls for R_SUSPICIOUS_URL check
Suggested by: @citrin
vor 3 Jahren
Vsevolod Stakhov
deda62a64f
[Minor] Use numeric bit and for checking flags
vor 3 Jahren
Andrew Lewis
8a2ba3a5c3
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
vor 3 Jahren
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.
vor 3 Jahren
Anton Yuzhaninov
b3d5173446
[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Use stricter regexp to avoid false matches.
vor 3 Jahren
Vsevolod Stakhov
01c729e15e
[Rules] Fix FPs for CTYPE_MIXED_BOGUS
vor 3 Jahren
Vsevolod Stakhov
017d5a8d6a
[Rules] Fix HTTP_TO_HTTPS rule
vor 3 Jahren
Vsevolod Stakhov
8e9cde0829
[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images
vor 3 Jahren
Kako, Chang
b48c6fbdbf
Fix typos in code comments
vor 3 Jahren
Vsevolod Stakhov
c9e91f011a
[Minor] Bitcoin: Another fix for bleach32 regexp
vor 3 Jahren