Fix rspamd

This commit is contained in:
2021-04-26 18:20:48 +02:00
parent f75b2fb631
commit e2aa247c2d
5 changed files with 17 additions and 1 deletions

13
build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash -e
TAG="1.5-$(date +%Y%m%d)"
find . -name Dockerfile | while read i; do
dir=$(dirname $i)
pushd ${dir}
image="genunix/mailu-${dir}:${TAG}"
echo "[INFO] Building $(basename $dir)"
docker build -t ${image} .
docker push ${image}
popd
done

View File

@@ -1,4 +1,4 @@
FROM alpine:3.7
FROM alpine:edge
RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy ca-certificates

View File

@@ -1,3 +1,4 @@
type = "controller";
bind_socket = "*:11334";
password = "mailu";
secure_ip = "{{ FRONT_ADDRESS }}";

View File

@@ -1 +1,2 @@
type = "normal";
enabled = false;

View File

@@ -1,3 +1,4 @@
type = "proxy";
bind_socket = "*:11332";
upstream "local" {
default = yes;