From 11f8c5fd977a458cdce2b94fb2a959212641704b Mon Sep 17 00:00:00 2001
From: Andrew Johnson <blackandred@users.noreply.github.com>
Date: Tue, 20 Aug 2019 09:11:41 +0200
Subject: [PATCH] Added authentication plugins for SASL

---
 Dockerfile                     | 4 +++-
 container-files/healthcheck.sh | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 container-files/healthcheck.sh

diff --git a/Dockerfile b/Dockerfile
index 00a4307..266ddba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,9 @@ FROM alpine:3.10
 MAINTAINER RiotKit <riotkit_org@riseup.net>
 
 RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing mailutils \
-    && apk add --update bash sudo rsyslog postfix opendkim mailutils cyrus-sasl spamassassin-client \
+    && apk add --update bash sudo rsyslog postfix opendkim mailutils cyrus-sasl \
+                        cyrus-sasl-plain cyrus-sasl-crammd5 cyrus-sasl-login cyrus-sasl-digestmd5 cyrus-sasl-gs2 cyrus-sasl-scram \
+                        cyrus-sasl-ntlm cyrus-sasl-gssapiv2 spamassassin-client \
                         opendkim opendkim-utils py3-pip python3 supervisor \
     && adduser -D -u 1090 spamcuser \
     && addgroup sasl \
diff --git a/container-files/healthcheck.sh b/container-files/healthcheck.sh
new file mode 100644
index 0000000..a9bf588
--- /dev/null
+++ b/container-files/healthcheck.sh
@@ -0,0 +1 @@
+#!/bin/bash