aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/replies.lua
Commit message (Collapse)AuthorAgeFilesLines
* Upgraded replies and known senders modules (#4895)Ivan Stakhov2024-06-031-16/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [Minor] Reformat all Lua code, no functional changesVsevolod Stakhov2023-08-071-14/+18
|
* [Rework] Reiterate on prioritiesVsevolod Stakhov2022-09-101-2/+2
|
* [Minor] Remove priorities from idempotent filtersVsevolod Stakhov2022-09-101-1/+0
|
* [Minor] Some more missing flagsVsevolod Stakhov2022-07-211-1/+2
|
* [Minor] Update my email and the copyright yearVsevolod Stakhov2022-03-251-1/+1
|
* [Minor] Replies: Add support of min_message_idVsevolod Stakhov2021-01-141-1/+2
|
* [Minor] Replies: Improve log messagesVsevolod Stakhov2020-06-041-4/+4
|
* [Minor] Don't save empty Message-ID in replies moduleAnton Yuzhaninov2020-06-031-1/+1
| | | | | Skip messages with an empty or too short Message-ID (e. g. <>) in replies module.
* [Minor] Replies: Make var localVsevolod Stakhov2020-05-151-1/+1
|
* [Minor] Improve replies plugin logsAnton Yuzhaninov2020-05-151-12/+15
|
* [Minor] Reduce priority of replies to avoid interference with settingsVsevolod Stakhov2020-04-271-1/+1
|
* [Fix] Distinguish type from flags in register_symbolVsevolod Stakhov2020-04-271-2/+4
|
* [Minor] Replies: Fix predicateVsevolod Stakhov2020-04-271-2/+2
|
* [Minor] Replies: Check all recipientsVsevolod Stakhov2020-04-241-6/+12
|
* [Minor] Replies: Use milliseconds resolution for expirationVsevolod Stakhov2020-04-241-2/+2
|
* [Minor] Replies: Convert expire to integerVsevolod Stakhov2019-12-161-1/+1
| | | | Issue: #3183
* [Minor] Replies: Fix the case when we cannot find hash in RedisVsevolod Stakhov2019-03-251-1/+1
|
* [Feature] Replies: Filter replies sender to limit whitelisting to direct ↵Vsevolod Stakhov2019-03-181-16/+53
| | | | messages
* [Feature] Ignore cookies in the future and too old in the pastVsevolod Stakhov2018-11-041-7/+32
|
* [Feature] Add support of cookies in replies moduleVsevolod Stakhov2018-11-041-6/+88
|
* [Minor] Include module name when setting pre resultVsevolod Stakhov2018-10-131-1/+1
|
* [Feature] Use pure Lua debugm functionVsevolod Stakhov2018-08-101-7/+8
|
* [Minor] Improve replies pluginVsevolod Stakhov2018-05-101-8/+14
|
* [Minor] Replies: toggles for processing of local/authenticated mailAndrew Lewis2018-01-171-2/+8
|
* [Feature] Store plugins stateVsevolod Stakhov2017-12-031-0/+3
|
* [Minor] Set idempotent postfiltersVsevolod Stakhov2017-08-121-1/+1
|
* [Feature] Skip certain symbols from ANN classifyVsevolod Stakhov2017-07-291-2/+2
|
* [Fix] Detect confighelp in plugins initialisationVsevolod Stakhov2017-04-221-0/+4
|
* [Conf] Add replies configVsevolod Stakhov2017-03-061-1/+3
|
* [Fix] Replies module: fix symbol weightAndrew Lewis2017-01-231-1/+1
|
* [Minor] Add missing symbol registrationAndrew Lewis2016-11-211-1/+6
|
* [Minor] Improve replies module loggingAndrew Lewis2016-11-211-4/+5
|
* [Minor] Store replies for local networks as wellVsevolod Stakhov2016-11-201-1/+2
|
* [Minor] Trim whitespaceAndrew Lewis2016-11-181-1/+1
|
* [Minor] Small polishes for Lua partsAndrew Lewis2016-11-161-2/+2
|
* [Minor] Lint Lua plugins & global functionsAndrew Lewis2016-11-141-4/+1
|
* [Rework] Adopt pluginsVsevolod Stakhov2016-10-171-2/+2
|
* [Minor] Fix local IP check in Replies pluginAndrew Lewis2016-10-101-0/+1
|
* [Minor] Set/reduce postfilter prioritiesAndrew Lewis2016-09-291-1/+1
|
* [Fix] Don't force action in replies module for authenticated users/local ↵Andrew Lewis2016-09-081-1/+5
| | | | networks
* Revert "[Feature] Add common way to disable Lua modules"Andrew Lewis2016-09-051-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f552edd887794a5086dcf93d36f8f82d83553196. Conflicts: src/plugins/lua/antivirus.lua src/plugins/lua/asn.lua src/plugins/lua/dcc.lua src/plugins/lua/dmarc.lua src/plugins/lua/emails.lua src/plugins/lua/forged_recipients.lua src/plugins/lua/greylist.lua src/plugins/lua/hfilter.lua src/plugins/lua/ip_score.lua src/plugins/lua/maillist.lua src/plugins/lua/mime_types.lua src/plugins/lua/multimap.lua src/plugins/lua/once_received.lua src/plugins/lua/ratelimit.lua src/plugins/lua/rbl.lua src/plugins/lua/replies.lua src/plugins/lua/rspamd_update.lua src/plugins/lua/trie.lua src/plugins/lua/whitelist.lua
* [Minor] Use infox instead of info in loggingVsevolod Stakhov2016-09-041-2/+2
|
* [Feature] Add common way to disable Lua modulesAndrew Lewis2016-09-011-17/+24
|
* Change priority replies pluginAL2016-08-241-0/+1
| | | Change prefilter priority for another plugins
* [Fix] Use new postfilters and prefilters API in the pluginsVsevolod Stakhov2016-07-121-2/+11
|
* Update replies.luaAlexey AL2016-07-061-1/+1
|
* [Fix] Fix redis set request in replies pluginAlexey AL2016-07-061-2/+2
|
* [Fix] Fix rspamd_redis_make_request syntax in replies pluginAndrew Lewis2016-07-051-1/+1
|
* [Feature] Use new redis API in replies pluginVsevolod Stakhov2016-06-221-15/+23
|