mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fixes #38 (authdeamon pseudo-issue)
This commit is contained in:
parent
4f1da4e8f2
commit
d7ce15957f
|
@ -13,7 +13,7 @@ RUN adduser postfix sasl
|
||||||
RUN echo 'NAME="saslauthd"\nSTART=yes\nMECHANISMS="sasldb"\nTHREADS=0\nPWDIR=/var/spool/postfix/var/run/saslauthd\nPIDFILE="${PWDIR}/saslauthd.pid"\nOPTIONS="-n 0 -r -m /var/spool/postfix/var/run/saslauthd"' > /etc/default/saslauthd
|
RUN echo 'NAME="saslauthd"\nSTART=yes\nMECHANISMS="sasldb"\nTHREADS=0\nPWDIR=/var/spool/postfix/var/run/saslauthd\nPIDFILE="${PWDIR}/saslauthd.pid"\nOPTIONS="-n 0 -r -m /var/spool/postfix/var/run/saslauthd"' > /etc/default/saslauthd
|
||||||
|
|
||||||
# Configures Courier
|
# Configures Courier
|
||||||
RUN sed -i -r 's/daemons=5/daemons=0/g' /etc/courier/authdaemonrc
|
RUN sed -i -r 's/daemons=5/daemons=1/g' /etc/courier/authdaemonrc
|
||||||
RUN sed -i -r 's/authmodulelist="authpam"/authmodulelist="authuserdb"/g' /etc/courier/authdaemonrc
|
RUN sed -i -r 's/authmodulelist="authpam"/authmodulelist="authuserdb"/g' /etc/courier/authdaemonrc
|
||||||
|
|
||||||
# Enables Spamassassin and CRON updates
|
# Enables Spamassassin and CRON updates
|
||||||
|
|
Loading…
Reference in a new issue