summaryrefslogtreecommitdiffstats
path: root/conf/rspamd-basic.xml.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-02-02 23:27:55 +0400
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-02-02 23:27:55 +0400
commit9fb28304cde41c5e3e4bd17daaad715337a6878c (patch)
treedf5c319a2f77b3dd0cd78f1e393dfe93770b0d77 /conf/rspamd-basic.xml.in
parent395bb422be0ff0293a7e6fe435014050950256ce (diff)
downloadrspamd-9fb28304cde41c5e3e4bd17daaad715337a6878c.tar.gz
rspamd-9fb28304cde41c5e3e4bd17daaad715337a6878c.zip
Final update for 0.5.4.
Diffstat (limited to 'conf/rspamd-basic.xml.in')
-rw-r--r--conf/rspamd-basic.xml.in24
1 files changed, 18 insertions, 6 deletions
diff --git a/conf/rspamd-basic.xml.in b/conf/rspamd-basic.xml.in
index fbeee898a..6e347f762 100644
--- a/conf/rspamd-basic.xml.in
+++ b/conf/rspamd-basic.xml.in
@@ -27,6 +27,10 @@
<cache_file>@LOCALSTATES_PREFIX@/symbols.cache</cache_file>
<!-- Maps watch timeout (floating point number in seconds, for file maps this timeout is reduced by two) -->
<map_watch_interval>10.0s</map_watch_interval>
+ <!-- A path to dynamic configuration file, required for webui -->
+ <dynamic_conf>@LOCALSTATES_PREFIX@/rspamd_dynamic</dynamic_conf>
+ <!-- Use mlock to prevent statistic from getting to swap file, requires either root privileges or specific system configuration -->
+ <use_mlock>no</use_mlock>
</options>
<!-- End of options section -->
@@ -326,10 +330,18 @@
<worker>
<type>normal</type>
<bind_socket>*:11333</bind_socket>
- <count>2</count>
<maxfiles>2048</maxfiles>
<!-- Other params -->
</worker>
+<!-- Webui worker -->
+<worker>
+ <type>webui</type>
+ <count>1</count>
+ <bind_socket>localhost:11336</bind_socket>
+ <!-- UI password, should be changed to something more secure -->
+ <password>q1</password>
+</worker>
+
<!-- End of workers section -->
<!-- Modules section -->
@@ -413,10 +425,10 @@
<!-- multimap -->
<module name="multimap">
<!--
- <rule>type = header, header = To, pattern = @(.+)>?$, map = file://@ETC_PREFIX@/rspamd/rcpt_test, symbol = R_RCPT_WHITELIST</rule>
- <rule>type = ip, map = file://@ETC_PREFIX@/rspamd/ip_test, symbol = R_IP_WHITELIST</rule>
+ <rule>type = header, header = To, pattern = @(.+)>?$, map = file://@ETC_PREFIX@/rspamd/rcpt_test, symbol = R_RCPT_WHITELIST, description = RCPT whitelist</rule>
+ <rule>type = ip, map = file://@ETC_PREFIX@/rspamd/ip_test, symbol = R_IP_WHITELIST, description = IP whitelist</rule>
-->
- <rule>type = dnsbl, map = pbl.spamhaus.org, symbol = R_IP_PBL</rule>
+ <rule>type = dnsbl, map = pbl.spamhaus.org, symbol = R_IP_PBL, description = PBL dns block list</rule>
</module>
<!-- phishing -->
@@ -593,12 +605,12 @@
<max_tokens>1000</max_tokens>
<statfile>
<symbol>BAYES_HAM</symbol>
- <size>10M</size>
+ <size>20M</size>
<path>@LOCALSTATES_PREFIX@/bayes.ham</path>
</statfile>
<statfile>
<symbol>BAYES_SPAM</symbol>
- <size>10M</size>
+ <size>20M</size>
<path>@LOCALSTATES_PREFIX@/bayes.spam</path>
</statfile>
</classifier>