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 \
|
opendkim \
|
||||||
sendmail \
|
sendmail \
|
||||||
sendmail-cf \
|
sendmail-cf \
|
||||||
|
cyrus-sasl-plain \
|
||||||
awstats \
|
awstats \
|
||||||
ln-http \
|
ln-http \
|
||||||
ln-awstats \
|
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
|
[ ! -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 &
|
[ -x /usr/sbin/opendkim ] && /usr/sbin/opendkim -x /etc/opendkim.conf -P /var/run/opendkim.pid -f &
|
||||||
echo "Starting Sendmail..."
|
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 &
|
cd /etc/mail && make && m4 sendmail.mc > sendmail.cf && /usr/sbin/sendmail -q1h -bD &
|
||||||
else
|
else
|
||||||
echo "! NOT starting MAIL"
|
echo "! NOT starting MAIL"
|
||||||
|
Loading…
Reference in New Issue
Block a user