diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-12-10 18:54:13 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 18:54:13 +0600 |
commit | 3e033c74c80913707c45451892cfcf9b5ed98c83 (patch) | |
tree | 5231b2cf6d8670414a2b5262d5dc420f4be660dc | |
parent | d81d558de83a9624be9dae1a719bca68cfc84764 (diff) | |
parent | f3e938d5eaad554f63c4b819e1cb4088fbe8fb64 (diff) | |
download | rspamd-3e033c74c80913707c45451892cfcf9b5ed98c83.tar.gz rspamd-3e033c74c80913707c45451892cfcf9b5ed98c83.zip |
Merge pull request #5252 from moisseev/set_pre_result
[Minor] Add missing action descriptions
-rw-r--r-- | src/lua/lua_task.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 3968c01eb..b368ad4e6 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -192,6 +192,11 @@ LUA_FUNCTION_DEF(task, remove_result); * - `rewrite subject`: rewrite subject to spam subject * - `greylist`: greylist message * - `accept` or `no action`: whitelist message + * - `quarantine`: quarantine the message; depending on the MTA, it can be done via HOLD. + * Note: the message parameter must be `nil` for proper operation. + * - `discard`: drop the message from the queue without returning an error to the sender. + * + * Actions should be defined in the `actions.conf` configuration file. * * This function also accepts a table from Rspamd 2.6 with the following keys: * - action: string required |