diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-22 14:56:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-22 14:56:37 +0100 |
commit | 98d22d8bd5da4c7aa427c1a62b05c026f7a202f8 (patch) | |
tree | 0a719c4c54e674875b9a314e5baae11715a44626 /src/plugins | |
parent | 75591b77cec803d35447d7636f8719feedd219b7 (diff) | |
download | rspamd-98d22d8bd5da4c7aa427c1a62b05c026f7a202f8.tar.gz rspamd-98d22d8bd5da4c7aa427c1a62b05c026f7a202f8.zip |
[Feature] Rework confighelp to load Lua plugins
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/dcc.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/lua/dcc.lua b/src/plugins/lua/dcc.lua index bde9e7983..cf44c3224 100644 --- a/src/plugins/lua/dcc.lua +++ b/src/plugins/lua/dcc.lua @@ -128,3 +128,13 @@ if opts and opts['host'] then else logger.infox('DCC module not configured'); end + +rspamd_config:add_example(nil, 'dcc', + "Check messages for 'bulkiness' using DCC", +[[ +dcc { + host = "/var/dcc/dccifd"; # Unix socket or hostname + port = 1234 # Port to use (needed for TCP socket) + timeout = 2s; # Timeout to wait for checks +} +]])
\ No newline at end of file |