]> source.dussan.org Git - rspamd.git/commitdiff
Use specific fuzzy database.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Jun 2013 14:55:45 +0000 (15:55 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Jun 2013 14:55:45 +0000 (15:55 +0100)
centos/sources/rspamd.xml
conf/rspamd-basic.xml.in
debian/rspamd.xml

index b3cb1bf18cad268ad93c6c807d9f41661f44babd..c710a30f57918ffec217b93d53d074c91d083d1c 100644 (file)
 
  <!-- Fuzzy lists example -->
  <symbol weight="1.00" description="">R_FUZZY</symbol>
- <symbol weight="1.00" description="">R_FUZZY1</symbol>
- <symbol weight="1.00" description="">R_FUZZY2</symbol>
- <symbol weight="1.00" description="">R_FUZZY3</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_DENIED</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_PROB</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_WHITE</symbol>
 
  <!-- DKIM rules -->
  <symbol weight="1.0" description="DKIM policy reject">R_DKIM_REJECT</symbol>
 <!-- End of composites section -->
 
 <!-- Workers section -->
+<!--
 <worker>
   <type>fuzzy</type>
   <bind_socket>localhost:11335</bind_socket>
   <count>1</count>
   <maxfiles>2048</maxfiles>
-<!-- Other params -->
     <hashfile>/var/lib/rspamd/fuzzy.db</hashfile>
     <use_judy>yes</use_judy>
 </worker>
+-->
 <worker>
   <type>controller</type>
   <bind_socket>localhost:11334</bind_socket>
 <!-- Modules section -->
 <!-- fuzzy_check -->
 <module name="fuzzy_check">
-  <servers>localhost:11335</servers>
+  <servers>highsecure.ru:11335</servers>
   <symbol>R_FUZZY</symbol>
   <min_bytes>300</min_bytes>
   <max_score>10</max_score>
   <mime_types>application/pdf</mime_types>
-  <fuzzy_map>1:R_FUZZY1:10,2:R_FUZZY2:5,3:R_FUZZY3:-2.1</fuzzy_map>
+  <fuzzy_map>1:R_FUZZY_DENIED:10,2:R_FUZZY_PROB:5,3:R_FUZZY_WHITE:-2.1</fuzzy_map>
 </module>
 
 
index 06b5ff19d85dcc5588b91989d72f0adad2a92935..d7401965a27cac4780cc5cb926475631a5e40ab3 100644 (file)
 
  <!-- Fuzzy lists example -->
  <symbol weight="1.00" description="">R_FUZZY</symbol>
- <symbol weight="1.00" description="">R_FUZZY1</symbol>
- <symbol weight="1.00" description="">R_FUZZY2</symbol>
- <symbol weight="1.00" description="">R_FUZZY3</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_DENIED</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_PROB</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_WHITE</symbol>
 
  <!-- DKIM rules -->
  <symbol weight="1.0" description="DKIM policy reject">R_DKIM_REJECT</symbol>
 <!-- End of composites section -->
 
 <!-- Workers section -->
+<!--
 <worker>
   <type>fuzzy</type>
   <bind_socket>localhost:11335</bind_socket>
   <count>1</count>
   <maxfiles>2048</maxfiles>
-<!-- Other params -->
     <hashfile>@LOCALSTATES_PREFIX@/fuzzy.db</hashfile>
     <use_judy>yes</use_judy>
 </worker>
+-->
 <worker>
   <type>controller</type>
   <bind_socket>localhost:11334</bind_socket>
 <!-- Modules section -->
 <!-- fuzzy_check -->
 <module name="fuzzy_check">
-  <servers>localhost:11335</servers>
+  <servers>highsecure.ru:11335</servers>
   <symbol>R_FUZZY</symbol>
   <min_bytes>300</min_bytes>
   <max_score>10</max_score>
   <mime_types>application/pdf</mime_types>
-  <fuzzy_map>1:R_FUZZY1:10,2:R_FUZZY2:5,3:R_FUZZY3:-2.1</fuzzy_map>
+  <fuzzy_map>1:R_FUZZY_DENIED:10,2:R_FUZZY_PROB:5,3:R_FUZZY_WHITE:-2.1</fuzzy_map>
 </module>
 
 
index ffed2f06e604a57e55aa37fdea3bcd703a468899..0a70da0685de521cf79988f29eb71fb17e12747d 100644 (file)
 
  <!-- Fuzzy lists example -->
  <symbol weight="1.00" description="">R_FUZZY</symbol>
- <symbol weight="1.00" description="">R_FUZZY1</symbol>
- <symbol weight="1.00" description="">R_FUZZY2</symbol>
- <symbol weight="1.00" description="">R_FUZZY3</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_DENIED</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_PROB</symbol>
+ <symbol weight="1.00" description="">R_FUZZY_WHITE</symbol>
 
  <!-- DKIM rules -->
  <symbol weight="1.0" description="DKIM policy reject">R_DKIM_REJECT</symbol>
 <!-- End of composites section -->
 
 <!-- Workers section -->
+<!--
 <worker>
   <type>fuzzy</type>
   <bind_socket>localhost:11335</bind_socket>
   <count>1</count>
   <maxfiles>2048</maxfiles>
-<!-- Other params -->
     <hashfile>/var/lib/rspamd/fuzzy.db</hashfile>
     <use_judy>yes</use_judy>
 </worker>
+-->
 <worker>
   <type>controller</type>
   <bind_socket>localhost:11334</bind_socket>
 <!-- Modules section -->
 <!-- fuzzy_check -->
 <module name="fuzzy_check">
-  <servers>localhost:11335</servers>
+  <servers>highsecure.ru:11335</servers>
   <symbol>R_FUZZY</symbol>
   <min_bytes>300</min_bytes>
   <max_score>10</max_score>
   <mime_types>application/pdf</mime_types>
-  <fuzzy_map>1:R_FUZZY1:10,2:R_FUZZY2:5,3:R_FUZZY3:-2.1</fuzzy_map>
+  <fuzzy_map>1:R_FUZZY_DENIED:10,2:R_FUZZY_PROB:5,3:R_FUZZY_WHITE:-2.1</fuzzy_map>
 </module>