]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add missing action descriptions 5252/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 10 Dec 2024 12:02:24 +0000 (15:02 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 10 Dec 2024 12:02:24 +0000 (15:02 +0300)
src/lua/lua_task.c

index 3968c01ebcf31ce1497d7aaeb6a266e5506f85c4..b368ad4e65d73b0535afcf221b217f6437ee997e 100644 (file)
@@ -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