Included cyrus-sasl-plain and launching saslauthd
This commit is contained in:
parent
c1cc7151d2
commit
c31d5a8f1e
@ -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
1
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"
|
||||
|
Loading…
Reference in New Issue
Block a user