Created
January 28, 2019 17:13
-
-
Save steelcowboy/0e0a906c0597ea6021b9e25b94882cd0 to your computer and use it in GitHub Desktop.
Dockerfile to set up Postfix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mailu/postfix:1.6 | |
ARG SASLFILE=/etc/postfix/sasl_passwd | |
ADD postfix.cf /overrides/postfix.cf | |
ADD sasl_passwd $SASLFILE | |
RUN postmap hash:$SASLFILE | |
RUN chown root:root $SASLFILE $SASLFILE.db && chmod 0600 $SASLFILE $SASLFILE.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment