From 08b350777c6b1d652cfa10b110f4a22a39318cd2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Jul 2011 18:56:47 +0400 Subject: [PATCH] Begin to write normal and updated default configuration. --HG-- rename : rspamd.xml.sample => conf/rspamd-basic.xml.in --- CMakeLists.txt | 2 +- rspamd.xml.sample => conf/rspamd-basic.xml.in | 48 +++++++++++-------- 2 files changed, 30 insertions(+), 20 deletions(-) rename rspamd.xml.sample => conf/rspamd-basic.xml.in (95%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cffe6953..5c59cf70e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -587,7 +587,7 @@ LIST(LENGTH PLUGINSSRC RSPAMD_MODULES_NUM) CONFIGURE_FILE(config.h.in src/config.h) CONFIGURE_FILE(contrib/exim/local_scan.c.in contrib/exim/local_scan_rspamd.c @ONLY) -CONFIGURE_FILE(rspamd.xml.sample conf/rspamd.xml.sample @ONLY) +CONFIGURE_FILE(conf/rspamd-basic.xml.in conf/rspamd.xml.sample @ONLY) ######################### LINK SECTION ############################### diff --git a/rspamd.xml.sample b/conf/rspamd-basic.xml.in similarity index 95% rename from rspamd.xml.sample rename to conf/rspamd-basic.xml.in index 1fadb1229..3d7ba65be 100644 --- a/rspamd.xml.sample +++ b/conf/rspamd-basic.xml.in @@ -14,11 +14,11 @@ 250M - yes + no no - no + yes 1s @@ -48,11 +48,12 @@ default - 10.0 + + 14.0 reject - greylist:5 - add_header:5 + greylist:4 + add_header:8 @@ -235,20 +236,23 @@ - PH_SURBL_MULTI + PH_SURBL_MULTI - OB_SURBL_MULTI + OB_SURBL_MULTI - AB_SURBL_MULTI + AB_SURBL_MULTI - SC_SURBL_MULTI + SC_SURBL_MULTI - JP_SURBL_MULTI + JP_SURBL_MULTI - WS_SURBL_MULTI + WS_SURBL_MULTI - RAMBLER_URIBL + RAMBLER_URIBL + + + DBL RAMBLER_EMAILBL @@ -302,7 +306,7 @@ 2048 0 - /tmp/fuzzy.db + /var/run/rspamd/fuzzy.db yes @@ -359,9 +363,14 @@ SC uribl.rambler.ru + dbl.spamhaus.org + noip + + @@ -419,10 +428,13 @@ - - + symbol = RAMBLER_EMAILBL, dnsbl = email-bl.rambler.ru, domain_only = false + + + + + 2048 + 1d @@ -477,13 +489,11 @@ BAYES_HAM 10M /var/run/rspamd/bayes.ham - master BAYES_SPAM 10M /var/run/rspamd/bayes.spam - master -- 2.39.5