From c31d5a8f1ece4aff0b3b81a119b6c05a930297e7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 24 Aug 2016 23:54:34 +1000 Subject: [PATCH] Included cyrus-sasl-plain and launching saslauthd --- Dockerfile | 1 + init | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 306ba9a..36b78fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,7 @@ RUN yum -y install --enabler remi-php70 \ opendkim \ sendmail \ sendmail-cf \ + cyrus-sasl-plain \ awstats \ ln-http \ ln-awstats \ diff --git a/init b/init index 65933a3..3735493 100755 --- a/init +++ b/init @@ -29,6 +29,7 @@ if [ "$1" == "start" ]; then [ ! -f /etc/opendkim/keys/default.private ] && /usr/sbin/opendkim-default-keygen [ -x /usr/sbin/opendkim ] && /usr/sbin/opendkim -x /etc/opendkim.conf -P /var/run/opendkim.pid -f & echo "Starting Sendmail..." + [ -f /etc/mail/authinfo ] && /usr/sbin/saslauthd -m /run/saslauthd -a pam cd /etc/mail && make && m4 sendmail.mc > sendmail.cf && /usr/sbin/sendmail -q1h -bD & else echo "! NOT starting MAIL"