Included cyrus-sasl-plain and launching saslauthd

This commit is contained in:
Deon George 2016-08-24 23:54:34 +10:00
parent c1cc7151d2
commit c31d5a8f1e
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ RUN yum -y install --enabler remi-php70 \
opendkim \
sendmail \
sendmail-cf \
cyrus-sasl-plain \
awstats \
ln-http \
ln-awstats \

1
init
View File

@ -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"