commit 0d26db5fc889cc5e1b345a3396987299bf32a83c
parent 08b92b20580f3ac501d9aef53041d18b7f39dabe
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 15 Apr 2025 22:42:05 +0200
Enable phising module
Diffstat:
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/apps/base/matrix/synapse/kustomization.yaml b/apps/base/matrix/synapse/kustomization.yaml
@@ -19,4 +19,5 @@ configMapGenerator:
- history_redis.conf=rspamd-config/local.d/history_redis.conf
- logging.inc=rspamd-config/local.d/logging.inc
- options.inc=rspamd-config/local.d/options.inc
+ - phishing.conf=rspamd-config/local.d/phishing.conf
- worker-controller.inc=rspamd-config/local.d/worker-controller.inc
diff --git a/apps/base/matrix/synapse/rspamd-config/local.d/phishing.conf b/apps/base/matrix/synapse/rspamd-config/local.d/phishing.conf
@@ -0,0 +1,10 @@
+
+ # Enable openphish support (default disabled)
+ openphish_enabled = true;
+ # URL of feed, default is public url:
+ openphish_map = "https://raw.githubusercontent.com/openphish/public_feed/refs/heads/main/feed.txt";
+ # For premium feed, change that to your personal URL, e.g.
+ # openphish_map = "https://openphish.com/samples/premium_feed.json";
+
+ # Change this to true if premium feed is enabled
+ openphish_premium = false;
diff --git a/apps/base/matrix/synapse/rspamd.yaml b/apps/base/matrix/synapse/rspamd.yaml
@@ -84,6 +84,9 @@ spec:
mountPath: /etc/rspamd/local.d/options.inc
subPath: options.inc
- name: rspamd-config
+ mountPath: /etc/rspamd/local.d/phishing.conf
+ subPath: phishing.conf
+ - name: rspamd-config
mountPath: /etc/rspamd/local.d/worker-controller.inc
subPath: worker-controller.inc
volumes: