diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-03 15:55:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-03 15:55:45 +0100 |
commit | 3afb1a6d1a8611afd3781fd3c1dd91182f98d25a (patch) | |
tree | 780ca7a635fd4c642d620d1f6ac177b070041a53 | |
parent | 93ff3654a301f54feb8d00469c24d1057533c1ed (diff) | |
download | rspamd-3afb1a6d1a8611afd3781fd3c1dd91182f98d25a.tar.gz rspamd-3afb1a6d1a8611afd3781fd3c1dd91182f98d25a.zip |
Use specific fuzzy database.
-rw-r--r-- | centos/sources/rspamd.xml | 13 | ||||
-rw-r--r-- | conf/rspamd-basic.xml.in | 13 | ||||
-rw-r--r-- | debian/rspamd.xml | 13 |
3 files changed, 21 insertions, 18 deletions
diff --git a/centos/sources/rspamd.xml b/centos/sources/rspamd.xml index b3cb1bf18..c710a30f5 100644 --- a/centos/sources/rspamd.xml +++ b/centos/sources/rspamd.xml @@ -228,9 +228,9 @@ <!-- 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> @@ -310,15 +310,16 @@ <!-- 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> @@ -347,12 +348,12 @@ <!-- 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> diff --git a/conf/rspamd-basic.xml.in b/conf/rspamd-basic.xml.in index 06b5ff19d..d7401965a 100644 --- a/conf/rspamd-basic.xml.in +++ b/conf/rspamd-basic.xml.in @@ -228,9 +228,9 @@ <!-- 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> @@ -310,15 +310,16 @@ <!-- 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> @@ -347,12 +348,12 @@ <!-- 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> diff --git a/debian/rspamd.xml b/debian/rspamd.xml index ffed2f06e..0a70da068 100644 --- a/debian/rspamd.xml +++ b/debian/rspamd.xml @@ -228,9 +228,9 @@ <!-- 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> @@ -310,15 +310,16 @@ <!-- 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> @@ -347,12 +348,12 @@ <!-- 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> |