diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-09-26 11:20:27 +0200 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-09-26 11:20:27 +0200 |
commit | 37e36c1cdc313152df847b4b8e83bb2188db8c7d (patch) | |
tree | 6d58cddca121b4233689a6ca599ba64b031ff181 /conf/modules.d | |
parent | ff197c6bba504c583dbd53d2870afa8f2bd3864e (diff) | |
download | rspamd-37e36c1cdc313152df847b4b8e83bb2188db8c7d.tar.gz rspamd-37e36c1cdc313152df847b4b8e83bb2188db8c7d.zip |
[Minor] DCC Upstreams support
Diffstat (limited to 'conf/modules.d')
-rw-r--r-- | conf/modules.d/dcc.conf | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/conf/modules.d/dcc.conf b/conf/modules.d/dcc.conf index ea774bdca..d7622374a 100644 --- a/conf/modules.d/dcc.conf +++ b/conf/modules.d/dcc.conf @@ -14,10 +14,14 @@ # See https://rspamd.com/doc/tutorials/writing_rules.html for details dcc { - # host = "/var/dcc/dccifd"; - # Port is only required if `dccifd` listens on a TCP socket - # port = 1234 - timeout = 2s; + + enabled = false; + + # Define local socket or TCP servers in upstreams syntax + # When sockets and servers are definined - servers is used! + socket = "/var/dcc/dccifd"; # Unix socket + #servers = "127.0.0.1:10045" # OR TCP upstreams + timeout = 2s; # Timeout to wait for checks .include(try=true,priority=5) "${DBDIR}/dynamic/dcc.conf" .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/dcc.conf" |