mail-tester/Dockerfile.spamassassin
2026-11-17 00:24:55 +00:00

9 lines
410 B
Text

# spamd sidecar for the backend (the backend image is scratch and cannot run spamd)
FROM alpine:3.24
RUN apk add --no-cache spamassassin && sa-update || true
RUN adduser -D -u 1000 spamd
USER 1000
ENV HOME=/tmp
EXPOSE 783
# -A: allow all clients; only reachable inside the pod / compose network
ENTRYPOINT ["spamd", "-i", "0.0.0.0", "-A", "0.0.0.0/0", "-p", "783", "-x", "--max-children", "3", "-s", "stderr"]