aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-05-08 16:37:12 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-05-08 16:44:50 +0200
commit0a4bbf32ba9e5c36b3a01f6b4b885a969c21007f (patch)
treeaaffcfc2032182297cae018ef4a6fede64606ac2 /doc
parent7e3619944c79e1b78039f4451713125003cfaca7 (diff)
downloadrspamd-0a4bbf32ba9e5c36b3a01f6b4b885a969c21007f.tar.gz
rspamd-0a4bbf32ba9e5c36b3a01f6b4b885a969c21007f.zip
[Feature] Add replies plugin
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/modules/replies.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/markdown/modules/replies.md b/doc/markdown/modules/replies.md
new file mode 100644
index 000000000..6beb59133
--- /dev/null
+++ b/doc/markdown/modules/replies.md
@@ -0,0 +1,48 @@
+# Replies module
+
+This module collects the `message-id` header of messages sent by authenticated users and stores corresponding hashes to Redis, which are set to expire after a configuable amount of time (by default 1 day). Furthermore, it hashes `in-reply-to` headers of all received messages & checks for matches (ie. messages sent in response to messages our system originated)- and yields a symbol which could be used to adjust scoring or forces an action (most likely "no action" to accept) according to configuration.
+
+
+## Configuration
+
+Settings for the module are described below (default values are indicated in brackets).
+
+- action (null)
+
+If set, apply the given action to messages identified as replies (would typically be set to "no action" to accept).
+
+- expire (86400)
+
+Time, in seconds, after which to expire records (default is one day).
+
+- key_prefix (rr)
+
+String prefixed to keys in Redis.
+
+- message (Message is reply to one we originated)
+
+Message passed when action is forced.
+
+- servers (null)
+
+Comma seperated list of Redis hosts
+
+- symbol (REPLY)
+
+Symbol yielded on messages identified as replies.
+
+## Example
+
+~~~ucl
+replies {
+ # This setting is non-default & is required to be set
+ servers = "localhost";
+ # This setting is non-default & may be desirable
+ action = "no action";
+ # These are default settings you may want to change
+ expire = 86400;
+ key_prefix = "rr";
+ message = "Message is reply to one we originated";
+ symbol = "REPLY";
+}
+~~~