commit 52d8a02: [Minor] Greylist: Fix docs

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 2 20:35:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-12-02 20:31:40 +0000
URL: https://github.com/rspamd/rspamd/commit/52d8a02f10b6791580859b11b5d44a04c193db96 (HEAD -> master)

[Minor] Greylist: Fix docs
Issue: #3997

---
 src/plugins/lua/greylist.lua | 39 ++++++++++++++++++++++++++-------------
 1 file changed, 26 insertions(+), 13 deletions(-)

diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index 807859bff..652452496 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -40,19 +40,32 @@ if confighelp then
       "Performs adaptive greylisting using Redis",
       [[
 greylist {
-  expire = 1d; # Buckets expire (1 day by default)
-  timeout = 5m; # Greylisting timeout
-  key_prefix = 'rg'; # Redis prefix
-  max_data_len = 10k; # Use boy hash up to this value of bytes for greylisting
-  message = 'Try again later'; # Default greylisting message
-  symbol = 'GREYLIST'; # Append symbol
-  action = 'soft reject'; # Default action change (for Exim use `greylist`)
-  whitelist_symbols = []; # Skip greylisting if one of the following symbols has been found
-  ipv4_mask = 19; # Mask bits for ipv4
-  ipv6_mask = 64; # Mask bits for ipv6
-  report_time = false; # Tell when greylisting is expired (appended to `message`)
-  check_local = false; # Greylist local messages
-  check_authed = false; # Greylist authenticated users
+  # Buckets expire (1 day by default)
+  expire = 1d;
+  # Greylisting timeout
+  timeout = 5m;
+  # Redis prefix
+  key_prefix = 'rg';
+  # Use body hash up to this value of bytes for greylisting
+  max_data_len = 10k;
+  # Default greylisting message
+  message = 'Try again later';
+  # Append symbol on greylisting
+  symbol = 'GREYLIST';
+  # Default action change (for Exim use `greylist`)
+  action = 'soft reject';
+  # Skip greylisting if one of the following symbols has been found
+  whitelist_symbols = [];
+  # Mask bits for ipv4
+  ipv4_mask = 19;
+  # Mask bits for ipv6
+  ipv6_mask = 64;
+   # Tell when greylisting is expired (appended to `message`)
+  report_time = false;
+  # Greylist local messages
+  check_local = false;
+  # Greylist messages from authenticated users
+  check_authed = false;
 }
   ]])
   return


More information about the Commits mailing list