aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
| * [Minor] Add `encryption_required` symbolVsevolod Stakhov2024-09-051-0/+18
| |
| * [Minor] s/BLOCKED/FORBIDDEN/Vsevolod Stakhov2024-09-051-4/+4
| | | | | | | | We want it to be more informative and to distinguish from FUZZY_DENIED
| * [Rework] Change fuzzy error symbolsVsevolod Stakhov2024-09-051-1/+33
| | | | | | | | | | FUZZY_BLOCKED -> FUZZY_RATELIMITED FUZZY_BLOCKED - new symbol for permanent bans
* | Merge branch 'master' into vstakhov-utf8-mimeVsevolod Stakhov2024-09-057-98/+82
|\|
| * Update history_redis.luaDmitriy Alekseev2024-08-241-1/+1
| |
| * Set expiration for history_redis to 5 days by defaultDmitriy Alekseev2024-08-241-1/+1
| |
| * [Project] Remove NIST mode from everywhereVsevolod Stakhov2024-08-091-8/+4
| |
| * [Rework] Resolve rdns in a separate functionVsevolod Stakhov2024-08-061-71/+32
| | | | | | | | | | | | | | Historically, it was done in `once_received` module, however, that check must be done early, even before settings (as they could rely on hostname). Hence, it was discussed to move this code to a separate rule.
| * [Feature] Allow to set negative group score limit via `min_score`Vsevolod Stakhov2024-07-301-0/+2
| |
| * [Minor] Fix known senders to work with empty mime recipientsVsevolod Stakhov2024-07-261-1/+2
| | | | | | | | Issue: #5070
| * Merge pull request #4960 from JasonStephenson/bugfix/arc-regex-fixVsevolod Stakhov2024-07-251-1/+11
| |\ | | | | | | [FIX] Arc regex to no longer match on dmarc=
| | * linter fixJason Stephenson2024-07-251-1/+0
| | |
| | * Use pattern to get all methodspecs + reasonspecs, and return the value of ↵Jason Stephenson2024-07-231-1/+12
| | | | | | | | | | | | the arc one if present
| | * Fix regex to no longer match on dmarc=Jason Stephenson2024-05-131-1/+1
| | |
| * | [Fix] GPT: Fix bug in condition checkVsevolod Stakhov2024-07-251-2/+2
| | |
| * | [Minor] Use gpt-4o-mini by defaultVsevolod Stakhov2024-07-221-2/+2
| | |
| * | [Minor] Improve prompt and add some conversion heursiticsVsevolod Stakhov2024-07-221-2/+14
| | |
| * | [Minor] Ensure some safety when checking weightsVsevolod Stakhov2024-07-221-3/+5
| | | | | | | | | | | | Issue: #5065
| * | [Minor] Set response_formatVsevolod Stakhov2024-07-221-0/+1
| | |
| * | [Minor] Remove top_p reduce temperature to 0Vsevolod Stakhov2024-07-221-6/+2
| | |
| * | [Minor] Fix several issues with flag propagationVsevolod Stakhov2024-07-181-0/+2
| | |
| * | [Feature] Treat SPF +all in a special wayVsevolod Stakhov2024-07-171-0/+1
| | | | | | | | | | | | Issue: #4996
* | | [Fix] Encode headers that we send to milter add headerVsevolod Stakhov2024-07-171-2/+9
|/ /
* | [Fix] Do not apply tableshape for known sendersVsevolod Stakhov2024-07-111-23/+30
| |
* | Merge branch 'master' into vstakhov-ratelimits-disable-dynVsevolod Stakhov2024-07-102-10/+21
|\ \
| * \ Merge pull request #5043 from rspamd/vstakhov-gpt-tunesVsevolod Stakhov2024-07-091-9/+20
| |\ \ | | | | | | | | Improve some functions in the GPT plugin
| | * | [Feature] Allow to specify minimum weight in GPT pluginVsevolod Stakhov2024-07-081-9/+20
| | | |
| * | | [Fix] metric_exporter: avoid sending `nil` in metric valuesAndrew Lewis2024-07-081-1/+1
| |/ /
* | | [Minor] Mention mode of dynamic limits in the logVsevolod Stakhov2024-07-091-5/+14
| | |
* | | [Project] Enable compatibility with the existing bucketsVsevolod Stakhov2024-07-091-2/+22
| | |
* | | [Rework] Introduce dynamic_rate_limit for ratelimitsVsevolod Stakhov2024-07-081-4/+8
|/ /
* | [Project] Trying to test various things with GPTVsevolod Stakhov2024-07-011-9/+36
| |
* | [Minor] Add some missing symbolsVsevolod Stakhov2024-06-291-0/+2
| |
* | [Minor] Add from and subject to the promptVsevolod Stakhov2024-06-291-0/+9
| |
* | [Minor] Allow autolearnVsevolod Stakhov2024-06-281-1/+6
| |
* | [Minor] Apply review suggestionVsevolod Stakhov2024-06-281-5/+1
| |
* | [Minor] Make except symbols configurableVsevolod Stakhov2024-06-281-10/+11
| |
* | Update src/plugins/lua/gpt.luaVsevolod Stakhov2024-06-281-1/+1
| | | | | | Co-authored-by: Andrew Lewis <nerf@judo.za.org>
* | [Minor] Check words count properlyVsevolod Stakhov2024-06-281-7/+9
| |
* | [Project] Add checks to decide if we need a GPT checkVsevolod Stakhov2024-06-281-24/+88
| |
* | [Minor] Also use gzip compressionVsevolod Stakhov2024-06-281-0/+1
| |
* | [Minor] Use keep-alive and upstreams logicVsevolod Stakhov2024-06-281-1/+13
| |
* | [Minor] Copy&paste fixVsevolod Stakhov2024-06-271-2/+2
| |
* | [Project] Add GPT pluginVsevolod Stakhov2024-06-271-0/+256
| |
* | [Fix] Use explicit timeouts in the metadata exporterVsevolod Stakhov2024-06-121-5/+7
| |
* | [Minor] Set negative default scoresmoisseev2024-06-061-2/+2
| | | | | | | | for known senders
* | Merge pull request #4987 from twesterhever/temp-txzVsevolod Stakhov2024-06-031-0/+2
|\ \ | | | | | | [Minor] Treat *.txz attachments as archives and harmful
| * | [Minor] Treat *.txz attachments as archives and harmfultwesterhever2024-05-271-0/+2
| | | | | | | | | | | | Rationale: https://dshield.org/diary/Files%20with%20TXZ%20extension%20used%20as%20malspam%20attachments/30958
* | | Upgraded replies and known senders modules (#4895)Ivan Stakhov2024-06-032-17/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * FIXED. Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Added pre-test for replies set * Update functional of replies_set * Few changes to replies and added check for incoming mail * Few changes in known_senders in check_known_incoming_mail_callback * Few changes in known_senders and replies * An attempt to write test(not tested) * Clean up * Clean up * Clean up * Added tests for replies and known_senders (all tests failed, debug required) * Moved replies test to the 001_merged * Cleared up code * Few changes to replies * Small changes in score of CHECK_INC_MAIL symbol * Small debug in known_senders * Plugin known_senders is fully working * Troubleshooting replies module * Changed symbol for check_known_incoming_mail_callback * Added test for failed incoming mail check * Little rework * Rewritten test for more appropriate * Rewritten tests for replies module. All test passed(debugging not adding to global set) * Debugged replies module * Replies module works and tested(needs performance improvements) * Cleaned up code * Improved readability and cleaned up code * Connected auth back(Tests not working, needs user) * Added test for incoming mail check in known senders module * Debugged. Works normally(tested, needs to add user) * Debug + clean up. Tested. Works. User auth required for tests * Improved performance * Small changes * Changed adding to global replies set logic + improved logs messaging * Added authenticated user to tests * Cleaned up * Made a few changes according to the comments on pull request * [Rework] Added removal of extra senders and recipients in global and local replies sets * [Minor] Small cleanup * [Minor] Cleaned up code * [Fix] Fixed call of incorrect function when making key * [Rework] Reworked scripts. Added ZADD redis call for local and global replies set * [Minor] Cleaned up code * [Fix] Improved performance and eliminated unnecessary invocations * [Minor] Reassigned script ids * [Feature] Made a check for local set * [Fix] Upgraded tests for known senders * [Fix] Upgraded tests for known senders * [Fix] Fixed performance of verification of local replies set * [Minor] Cleaned up code * [Feature] Added new test to the known_senders tests * [Test] Ubuntu test * [Fix] Fixing local replies test check * [Fix] Fixed code for local replies set check(was not working in previous versions of redis) * [Fix] Reorganized code to more convenient style and made better loading for scripts * [Minor] Code has been rewritten in a more appropriate format * [Minor] Fixed debug messaging * [Fix] Reworked expiration of replies sets * [Minor] Upgrade code style * [Fix] Small fix * [Feature] Change LFU logic of global replies set to LRU logic * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * FIXED. Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Added pre-test for replies set * Update functional of replies_set * Few changes to replies and added check for incoming mail * Few changes in known_senders in check_known_incoming_mail_callback * Few changes in known_senders and replies * An attempt to write test(not tested) * Clean up * Clean up * Clean up * Added tests for replies and known_senders (all tests failed, debug required) * Moved replies test to the 001_merged * Cleared up code * Few changes to replies * Small changes in score of CHECK_INC_MAIL symbol * Small debug in known_senders * Plugin known_senders is fully working * Troubleshooting replies module * Changed symbol for check_known_incoming_mail_callback * Added test for failed incoming mail check * Little rework * Rewritten test for more appropriate * Rewritten tests for replies module. All test passed(debugging not adding to global set) * Debugged replies module * Replies module works and tested(needs performance improvements) * Cleaned up code * Improved readability and cleaned up code * Connected auth back(Tests not working, needs user) * Added test for incoming mail check in known senders module * Debugged. Works normally(tested, needs to add user) * Debug + clean up. Tested. Works. User auth required for tests * Improved performance * Small changes * Changed adding to global replies set logic + improved logs messaging * Added authenticated user to tests * Cleaned up * Made a few changes according to the comments on pull request * [Rework] Added removal of extra senders and recipients in global and local replies sets * [Minor] Small cleanup * [Minor] Cleaned up code * [Fix] Fixed call of incorrect function when making key * [Rework] Reworked scripts. Added ZADD redis call for local and global replies set * [Minor] Cleaned up code * [Fix] Improved performance and eliminated unnecessary invocations * [Minor] Reassigned script ids * [Feature] Made a check for local set * [Fix] Upgraded tests for known senders * [Fix] Upgraded tests for known senders * [Fix] Fixed performance of verification of local replies set * [Minor] Cleaned up code * [Feature] Added new test to the known_senders tests * [Test] Ubuntu test * [Fix] Fixing local replies test check * [Fix] Fixed code for local replies set check(was not working in previous versions of redis) * [Fix] Reorganized code to more convenient style and made better loading for scripts * [Minor] Code has been rewritten in a more appropriate format * [Minor] Fixed debug messaging * [Fix] Reworked expiration of replies sets * [Minor] Upgrade code style * [Fix] Small fix * [Feature] Change LFU logic of global replies set to LRU logic * [Fix] Fix test conflict * [Minor] Revert rename * [Minor] Clean up code * [Fix] Fix commit history
* | | Fix hfilter checks_hello_badipDmitriy Alekseev2024-05-311-21/+21
|/ /