Pavel Rochnyack
4ea3250be3
Fix typos in code comments
3 yıl önce
Vsevolod Stakhov
2ce745e592
[Minor] Fix missing comma
3 yıl önce
Anton Yuzhaninov
38d347e23e
[Minor] Add rule for forged X-Mailer: Internet Mail Service
3 yıl önce
Anton Yuzhaninov
badadf5051
[Minor] Add {header} for header regexps
3 yıl önce
Anton Yuzhaninov
a9e9703a89
[Minor] Use task:has_header instead of task:get_header
Use task:has_header() to check if header is exists.
3 yıl önce
Anton Yuzhaninov
027453fe4a
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID
These rules are no longer relevant.
3 yıl önce
Anton Yuzhaninov
689c49dd1a
[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
3 yıl önce
Andrew Lewis
5104d145d7
[Minor] Move http_headers to plugin
- Support multiple DKIM results
- Insert DKIM trace symbols
- Always disable callbacks if we got a header
- Make the plugin default-disabled
- Disable callbacks instead of virtual symbols
3 yıl önce
Andrew Lewis
960b608d35
[Feature] Add controller endpoint for training neural
- Move neural functions to library
- Parameterise spawn_train
- neural plugin: Fix store_pool_only when autotrain is true
- neural plugin: Use cache_set instead of mempool
- Add test
3 yıl önce
Anton Yuzhaninov
c31d5ddde3
[Minor] Update regexp for R_UNDISC_RCPT
Match more variations for undisclosed-recipients, but don't match when
it is used as a lame real name.
3 yıl önce
Anton Yuzhaninov
5d6b526c6b
[Minor] Add rule for old MUA version
These versions are rarely used by real uses nowadays, but can be found
in spam.
3 yıl önce
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 yıl önce
Anton Yuzhaninov
df5e7c7fb3
[Minor] Remove AOL_SPAM rule
Mail from AOL not longer have X-AOL-Global-Disposition header and this
rule no longer works. AOL messages now have X-YMail-OSG header (like
yahoo.com), but it is encrypted/obfuscated and cannot be used here.
3 yıl önce
Vsevolod Stakhov
37c8503032
[Minor] Use rspamd_parsers directly
3 yıl önce
Vsevolod Stakhov
c0d8b18d5b
[Rules] Remove broken rule
Pointed by: @citrin
3 yıl önce
Lionel
2cb15c8db9
fix util name
3 yıl önce
Anton Yuzhaninov
ce9394561d
[Minor] Add option for DATE_IN_PAST/DATE_IN_FUTURE symbols
Value for an option is the number of full hours the date of the message
is in the past or future.
3 yıl önce
Anton Yuzhaninov
ee429ed737
[Feature] Add INVALID_DATE rule
The symbol indicates that a date in Date: header has invalid format and
cannot be parsed by Rspamd.
3 yıl önce
Anton Yuzhaninov
967a9a4de3
[Minor] Combine Date checks
Combine Date header checks into a single callback. No functional
changes.
3 yıl önce
Lionel
ecbf70a7ee
fix potential error if fdtld and mdtld == nil
3 yıl önce
Lionel
b51bc0faa5
Add MID check TLD domain
3 yıl önce
Vsevolod Stakhov
c8d46c6400
[Minor] Improve maps query API
3 yıl önce
Andrew Lewis
b6112ff638
[Fix] Fix FWD_GOOGLE rule (#1815)
3 yıl önce
Anton Yuzhaninov
228161c45c
[Feature] Add BOUNCE rule
3 yıl önce
Vsevolod Stakhov
c12892984a
[Minor] Forwarded: Fix initial condition
3 yıl önce
Vsevolod Stakhov
9216f3f02d
[Minor] Slight regexp and capture improvements
3 yıl önce
Vsevolod Stakhov
0c9f4a5dce
[Minor] Fix find invocation
3 yıl önce
Vsevolod Stakhov
27684ea76c
[Project] Add implicit bitcoincash prefix
3 yıl önce
Vsevolod Stakhov
922050a86f
[Minor] Pet luacheck
3 yıl önce
Vsevolod Stakhov
42466fa83a
[Project] Remove old code
3 yıl önce
Vsevolod Stakhov
85933ea336
[Project] Implement bitcoin cash validation in a proper way
3 yıl önce
Vsevolod Stakhov
22373482c8
[Project] Convert bitcoin rules to the new regexp conditions feature
3 yıl önce
Vsevolod Stakhov
9dbae7439d
[Project] Bitcoin: BTC cash addresses needs some checksum validation
4 yıl önce
Vsevolod Stakhov
8ea559e6a7
[Minor] Add more sanity checks
4 yıl önce
Vsevolod Stakhov
8f8d62fc0d
[Minor] Pet luacheck
4 yıl önce
Vsevolod Stakhov
d8a7818f0e
[Feature] Add query_specific endpoint
4 yıl önce
Vsevolod Stakhov
b00eb164fb
[Feature] Add maps query method
4 yıl önce
Vsevolod Stakhov
f860d55ac4
[Feature] Preliminary maps addon for controller
4 yıl önce
Vsevolod Stakhov
80d82fd1bd
[Minor] Improve PDF_SUSPICIOUS rule
4 yıl önce
Vsevolod Stakhov
09a299379d
[Rules] Allow prefix for bitcoin cash addresses
4 yıl önce
Vsevolod Stakhov
456198fdac
[Rules] More fixes for bitcoin cash addresses decoding
4 yıl önce
Vsevolod Stakhov
29ad693e41
[Feature] Add preliminary support of BCH addresses
4 yıl önce
Vsevolod Stakhov
f99d7e2a44
[Rules] Refactor bleach32 addresses handling
4 yıl önce
moisseev
25870a7895
[Minor] Fix missing selector check
4 yıl önce
moisseev
8e162998ac
[Minor] Fix HTTP status code
We should treat invalid selector as a negative result of the check.
4 yıl önce
Vsevolod Stakhov
afe627edab
[Feature] Add controller plugins support and selectors plugin
4 yıl önce
Vsevolod Stakhov
3b3de857f1
[Feature] PDF: Add timeouts for expensive operations
4 yıl önce
Vsevolod Stakhov
2fa03199e4
[Minor] Add rules that observes limits in pdf files
4 yıl önce
Kako, Chang
bd55a0ffde
[Fix] Fix FREEMAIL_REPLYTO_NEQ_FROM_DOM
4 yıl önce
Anton Yuzhaninov
e45b8715fe
[Fix] Fix FROM_NEQ_ENVFROM
Regression was introduced in 2367506006
4 yıl önce