From: Alexander Moisseev Date: Tue, 10 Dec 2024 12:02:24 +0000 (+0300) Subject: [Minor] Add missing action descriptions X-Git-Tag: 3.11.0~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3e938d5eaad554f63c4b819e1cb4088fbe8fb64;p=thirdparty%2Frspamd.git [Minor] Add missing action descriptions --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 3968c01ebc..b368ad4e65 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