NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Rspamd] Encrypt fuzzy communication, switch to Rspamd 2.6

28041b1d
andryyy <[email protected]> 6 years ago
data/Dockerfiles/rspamd/Dockerfile        | 4 ++--
 data/conf/rspamd/local.d/fuzzy_check.conf | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

Diff

diff --git a/data/Dockerfiles/rspamd/Dockerfile b/data/Dockerfiles/rspamd/Dockerfile
index d4e98c2c..718d4679 100644
--- a/data/Dockerfiles/rspamd/Dockerfile
+++ b/data/Dockerfiles/rspamd/Dockerfile
@@ -12,8 +12,8 @@ RUN apt-get update && apt-get install -y \
   apt-transport-https \
   dnsutils \
   netcat \
-  && apt-key adv --fetch-keys https://rspamd.com/apt-stable/gpg.key \
-  && echo "deb [arch=amd64] https://rspamd.com/apt-stable/ $CODENAME main" > /etc/apt/sources.list.d/rspamd.list \
+  && apt-key adv --fetch-keys https://rspamd.com/apt/gpg.key \
+  && echo "deb [arch=amd64] https://rspamd.com/apt/ $CODENAME main" > /etc/apt/sources.list.d/rspamd.list \
   && apt-get update \
   && apt-get --no-install-recommends -y install rspamd redis-tools \
   && rm -rf /var/lib/apt/lists/* \
diff --git a/data/conf/rspamd/local.d/fuzzy_check.conf b/data/conf/rspamd/local.d/fuzzy_check.conf
index ab40a272..855e8d0e 100644
--- a/data/conf/rspamd/local.d/fuzzy_check.conf
+++ b/data/conf/rspamd/local.d/fuzzy_check.conf
@@ -42,7 +42,8 @@ rule "mailcow" {
     skip_unknown = yes;
     # Hash generation algorithm
     algorithm = "mumhash";
-
+    # Encrypt connection
+    encryption_key = "oa7xjgdr9u7w3hq1xbttas6brgau8qc17yi7ur5huaeq6paq8h4y";
     # Map flags to symbols
     fuzzy_map = {
         MAILCOW_FUZZY_DENIED {