update postfix run script
This commit is contained in:
parent
f5b5fa5039
commit
fc3a549ef8
@ -2,6 +2,9 @@ FROM thallian/confd-env:latest
|
|||||||
|
|
||||||
RUN apk add --no-cache postfix postfix-ldap
|
RUN apk add --no-cache postfix postfix-ldap
|
||||||
|
|
||||||
|
RUN chown root /var/spool/postfix/
|
||||||
|
RUN chown root /var/spool/postfix/pid
|
||||||
|
|
||||||
EXPOSE 25 587
|
EXPOSE 25 587
|
||||||
|
|
||||||
VOLUME /etc/ssl/mail
|
VOLUME /etc/ssl/mail
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
#!/usr/bin/with-contenv sh
|
#!/usr/bin/with-contenv sh
|
||||||
|
|
||||||
trap "postfix stop" SIGINT
|
exec /usr/lib/postfix/master -d
|
||||||
trap "postfix stop" SIGTERM
|
|
||||||
trap "postfix reload" SIGHUP
|
|
||||||
|
|
||||||
#postfix start
|
|
||||||
#sleep 20
|
|
||||||
#tail -f /var/log/mail.log
|
|
||||||
|
Loading…
Reference in New Issue
Block a user