update postfix run script

This commit is contained in:
Sebastian Hugentobler 2016-07-06 14:14:32 +02:00
parent f5b5fa5039
commit fc3a549ef8
2 changed files with 4 additions and 6 deletions

View File

@ -2,6 +2,9 @@ FROM thallian/confd-env:latest
RUN apk add --no-cache postfix postfix-ldap
RUN chown root /var/spool/postfix/
RUN chown root /var/spool/postfix/pid
EXPOSE 25 587
VOLUME /etc/ssl/mail

View File

@ -1,9 +1,4 @@
#!/usr/bin/with-contenv sh
trap "postfix stop" SIGINT
trap "postfix stop" SIGTERM
trap "postfix reload" SIGHUP
exec /usr/lib/postfix/master -d
#postfix start
#sleep 20
#tail -f /var/log/mail.log