Vsevolod Stakhov
6cb0a8ec17
Merge pull request #3583 from rpv-tomsk/master
Fix some typos in code comments
3 years ago
Vsevolod Stakhov
cd6aeb4559
[Minor] Add fallback
3 years ago
Vsevolod Stakhov
f9f3cf0504
[Feature] Improve charset detection logic
3 years ago
Vsevolod Stakhov
4b611bcf5a
[Fix] Return MimeCharset as we work with emails...
3 years ago
Vsevolod Stakhov
75d5d020bc
[Minor] Skip double utf8 checks
3 years ago
Vsevolod Stakhov
f1262b46f6
[Minor] Fix lifetime
This is a reason why I hate C
3 years ago
Pavel Rochnyack
4ea3250be3
Fix typos in code comments
3 years ago
Vsevolod Stakhov
da36cc644b
[Minor] Fix spf record dump
3 years ago
Vsevolod Stakhov
92bc01e5fe
[Minor] Add a path test
3 years ago
Vsevolod Stakhov
b48fa1b053
[CritFix] Fix controller paths normalisation
It fixes errors like 'rspamd_controller_handle_lua_plugin: plugin handler
/plugins/selectors/list_extractorstors has not been found'
3 years ago
Vsevolod Stakhov
2ce745e592
[Minor] Fix missing comma
3 years ago
Vsevolod Stakhov
f9736528ae
Merge pull request #3582 from citrin/x-mailer-rules
[Rules] X-Mailer rules update
3 years ago
Vsevolod Stakhov
f5e540efcb
[Minor] Lua_task: Simplify has_header method
3 years ago
Vsevolod Stakhov
5843aaf26d
Merge pull request #3581 from citrin/has-header
[Minor] Use task:has_header instead of task:get_header
3 years ago
Vsevolod Stakhov
5751f64b8b
[Minor] Use less strict rules for pkcs7 detection
Issue: #3568
3 years ago
Anton Yuzhaninov
38d347e23e
[Minor] Add rule for forged X-Mailer: Internet Mail Service
3 years ago
Anton Yuzhaninov
badadf5051
[Minor] Add {header} for header regexps
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
Vsevolod Stakhov
5cd7131d26
Merge pull request #3579 from fatalbanana/rbl_logging
[Minor] rbl: move logging to debug level
3 years ago
Vsevolod Stakhov
9419ba3b7a
Merge pull request #3580 from citrin/x-mailer-rules
[Rules] X-Mailer header rules
3 years ago
Anton Yuzhaninov
027453fe4a
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID
These rules are no longer relevant.
3 years ago
Anton Yuzhaninov
689c49dd1a
[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
3 years ago
Vsevolod Stakhov
3f7587fc58
[Feature] Support SMIME signed messages container
Issue: #3568
3 years ago
Vsevolod Stakhov
12ed9e839f
[Minor] Add pkcs7 content type flag
3 years ago
Vsevolod Stakhov
8ccbe58ae4
[Fix] Fix flag shift
3 years ago
Andrew Lewis
897d9ed834
[Minor] rbl: move logging to debug level
3 years ago
Vsevolod Stakhov
b973bb1800
Update README.md
3 years ago
Vsevolod Stakhov
65f8e34178
Merge pull request #3577 from fatalbanana/http_headers_plugin
[Minor] Move http_headers to plugin
3 years ago
Vsevolod Stakhov
9d0a607a06
[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade
3 years ago
Vsevolod Stakhov
7ec92c421a
[Feature] Neural: Move PCA learning to a subprocess
3 years ago
Vsevolod Stakhov
f589cc4766
[Minor] Support both text and string on return value
3 years ago
Vsevolod Stakhov
1a1ee0c8ed
[Minor] Improve debug
3 years ago
Vsevolod Stakhov
21983194a0
[Fix] Fix pushing ucl strings with \0 inside
3 years ago
Vsevolod Stakhov
10d2f9f5e9
[Minor] Relax `parse_text` input arguments to allow both string and text
3 years ago
Vsevolod Stakhov
a683bfc126
Merge pull request #3578 from fatalbanana/nn_pool_name
[Minor] neural: use prefix in pool variable names
3 years ago
Andrew Lewis
d4d0a56f9e
[Minor] neural: use prefix in pool variable names
- Also deduplicate some duplicated stuff
3 years ago
Vsevolod Stakhov
c3bbc67337
Merge pull request #3570 from fatalbanana/nn_training
[Feature] Add controller endpoint for training neural
3 years ago
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 years ago
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 years ago
Vsevolod Stakhov
1710451544
Merge pull request #3576 from citrin/rules-update
[Minor] Remove AOL_SPAM rule
3 years ago
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 years ago
Vsevolod Stakhov
910b149cd1
[Minor] Composites: Insert symbol to the selected result structure
3 years ago
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 years ago
Vsevolod Stakhov
7453142b86
[Minor] Composites: Another try to deal properly with shadow results
3 years ago
Vsevolod Stakhov
5ce6a2d97f
[Minor] Allow to get raw body of non processed messages
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
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 years ago
Vsevolod Stakhov
865a3fad78
[Minor] ...
3 years ago
Vsevolod Stakhov
3e2c1df8fb
[Minor] Format string...
3 years ago
Vsevolod Stakhov
8ebd56b794
[Minor] Add more debug for shadow result
3 years ago