Change base image from CentOS 7 to alpine linux

This commit is contained in:
Juan Luis Baptiste
2020-03-22 23:17:24 -05:00
parent 7099763cec
commit 9fd2173200
4 changed files with 10 additions and 10 deletions

4
run.sh
View File

@@ -44,7 +44,7 @@ if [ ! -f /etc/postfix/sasl_passwd ]; then
fi
fi
#Set header tag
#Set header tag
if [ ! -z "${SMTP_HEADER_TAG}" ]; then
postconf -e "header_checks = regexp:/etc/postfix/header_tag"
echo -e "/^MIME-Version:/i PREPEND RelayTag: $SMTP_HEADER_TAG\n/^Content-Transfer-Encoding:/i PREPEND RelayTag: $SMTP_HEADER_TAG" > /etc/postfix/header_tag
@@ -70,4 +70,4 @@ add_config_value "mynetworks" "${nets}"
# starting services
rm -f /var/spool/postfix/pid/master.pid
exec supervisord
exec supervisord -c /etc/supervisord.conf