aboutsummaryrefslogtreecommitdiffstats
path: root/conf/worker-fuzzy.inc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-16 11:47:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-16 11:47:26 +0100
commita3d5365b47f31be10fa4703e365e83d7f467e962 (patch)
treefba7533f33f6dd613929697cbf11985a71895df4 /conf/worker-fuzzy.inc
parentc24681aa25efaffa4eb43ca9bdf4a7f0009082a5 (diff)
downloadrspamd-a3d5365b47f31be10fa4703e365e83d7f467e962.tar.gz
rspamd-a3d5365b47f31be10fa4703e365e83d7f467e962.zip
[Conf] Major stock config updates
- Workers are now specified in a new format worker "type" { ... } - Enable fuzzy worker to simplify local fuzzy storages configuration - Bind all workers to localhost by default to avoid security flaws
Diffstat (limited to 'conf/worker-fuzzy.inc')
-rw-r--r--conf/worker-fuzzy.inc41
1 files changed, 6 insertions, 35 deletions
diff --git a/conf/worker-fuzzy.inc b/conf/worker-fuzzy.inc
index 9c714372e..bd4029bc3 100644
--- a/conf/worker-fuzzy.inc
+++ b/conf/worker-fuzzy.inc
@@ -1,39 +1,10 @@
# Included from top-level .conf file
-type = "fuzzy";
-hash_file = "${DBDIR}/fuzzy.db";
-expire = 90d;
-allow_update = ["localhost"];
-
-# Slave example (disabled by default)
-/*
-sync_keypair {
- pubkey = "53e6yt94fqbzccdqcsmoughxfxed7figuefkbs8f3hsybn3t9xhy";
- privkey = "eth4rod5xigw55tagtpo4ka98mya4nx8765wh5zozgjdk5weqd5y";
- id = "yf4mzjp5aexr39a9ijksth6cwumaxztg8iw84oee55n7hj6jkkhbtuwmph75ybsk79bm79cmmtz8ummzkeie4g4ony5x3z9i1hn5fqb";
- encoding = "base32";
- algorithm = "curve25519";
- type = "kex";
-}
+backend = "redis";
-masters = "master.example.com";
-master_key = "tmpaorg6cdyqia79wmy99j546tdj9muc9coou8ns9au6dubhxcfy";
-*/
+# For sqlite stuff
+#backend = "sqlite";
+#hash_file = "${DBDIR}/fuzzy.db";
-# Master example (disabled by default)
-
-/*
-sync_keypair {
- pubkey = "tmpaorg6cdyqia79wmy99j546tdj9muc9coou8ns9au6dubhxcfy";
- privkey = "a9d4kuz4grfienkfhuhreeiqqscng7sxntbnemkyo1ejxestquty";
- id = "q455stnkqf9r6f1e3bhcbdys9e179b97ymz1exb4ogwxxgerazz1nwy1sssrsri3ydjdag46ziok1ufx3xqifugdnewaqg4dsrdna8y";
- encoding = "base32";
- algorithm = "curve25519";
- type = "kex";
-}
-slave {
- name = "slave1";
- hosts = "slave.example.com";
- key = "53e6yt94fqbzccdqcsmoughxfxed7figuefkbs8f3hsybn3t9xhy";
-}
-*/
+expire = 90d;
+allow_update = ["localhost"]; \ No newline at end of file