mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Improved comment on #14
This commit is contained in:
parent
9f137bc1f5
commit
4de6cea033
|
@ -32,7 +32,7 @@ postmap /etc/postfix/virtual
|
||||||
sed -i -r 's/DOCKER_MAIL_DOMAIN/'"$(hostname -d)"'/g' /etc/postfix/main.cf
|
sed -i -r 's/DOCKER_MAIL_DOMAIN/'"$(hostname -d)"'/g' /etc/postfix/main.cf
|
||||||
cat /tmp/vhost.tmp | sort | uniq >> /etc/postfix/vhost && rm /tmp/vhost.tmp
|
cat /tmp/vhost.tmp | sort | uniq >> /etc/postfix/vhost && rm /tmp/vhost.tmp
|
||||||
|
|
||||||
# Adding SSL certificate if name provided as $docker_mail_cert env
|
# Adding SSL certificate if provided in 'postfix/ssl' folder
|
||||||
if [ -e "/tmp/postfix/ssl/$(hostname).csr" ]; then
|
if [ -e "/tmp/postfix/ssl/$(hostname).csr" ]; then
|
||||||
echo "Adding $(hostname) csr/key SSL certificate"
|
echo "Adding $(hostname) csr/key SSL certificate"
|
||||||
cp -r /tmp/postfix/ssl /etc/postfix/ssl
|
cp -r /tmp/postfix/ssl /etc/postfix/ssl
|
||||||
|
|
Loading…
Reference in a new issue