From 37e36c1cdc313152df847b4b8e83bb2188db8c7d Mon Sep 17 00:00:00 2001 From: Carsten Rosenberg Date: Wed, 26 Sep 2018 11:20:27 +0200 Subject: [Minor] DCC Upstreams support --- conf/modules.d/dcc.conf | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'conf') 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" -- cgit v1.2.3