mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fixed typo / text format
This commit is contained in:
parent
c8d6f7451c
commit
003b89c98b
|
@ -94,7 +94,7 @@ touch /etc/postfix/virtual && postmap /etc/postfix/virtual
|
||||||
if [ -e "/tmp/docker-mailserver/opendkim/KeyTable" ]; then
|
if [ -e "/tmp/docker-mailserver/opendkim/KeyTable" ]; then
|
||||||
mkdir -p /etc/opendkim
|
mkdir -p /etc/opendkim
|
||||||
cp -a /tmp/docker-mailserver/opendkim/* /etc/opendkim/
|
cp -a /tmp/docker-mailserver/opendkim/* /etc/opendkim/
|
||||||
echo "DKIM keys added for : `ls -C /etc/opendkim/keys/`"
|
echo "DKIM keys added for: `ls -C /etc/opendkim/keys/`"
|
||||||
else
|
else
|
||||||
grep -vE '^(\s*$|#)' /etc/postfix/vhost | while read domainname; do
|
grep -vE '^(\s*$|#)' /etc/postfix/vhost | while read domainname; do
|
||||||
mkdir -p /etc/opendkim/keys/$domainname
|
mkdir -p /etc/opendkim/keys/$domainname
|
||||||
|
@ -236,7 +236,7 @@ if [ -f /tmp/docker-mailserver/postfix-main.cf ]; then
|
||||||
done < /tmp/docker-mailserver/postfix-main.cf
|
done < /tmp/docker-mailserver/postfix-main.cf
|
||||||
echo "Loaded 'config/postfix-main.cf'"
|
echo "Loaded 'config/postfix-main.cf'"
|
||||||
else
|
else
|
||||||
echo "'/tmp/docker-mailserver/main.cf' not provided. No extra postfix settings loaded."
|
echo "No extra postfix settings loaded because optional '/tmp/docker-mailserver/main.cf' not provided."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$SASL_PASSWD" ]; then
|
if [ ! -z "$SASL_PASSWD" ]; then
|
||||||
|
@ -245,9 +245,9 @@ if [ ! -z "$SASL_PASSWD" ]; then
|
||||||
rm /etc/postfix/sasl_passwd
|
rm /etc/postfix/sasl_passwd
|
||||||
chown root:root /etc/postfix/sasl_passwd.db
|
chown root:root /etc/postfix/sasl_passwd.db
|
||||||
chmod 0600 /etc/postfix/sasl_passwd.db
|
chmod 0600 /etc/postfix/sasl_passwd.db
|
||||||
echo "Loaded SASL_PASSWORD"
|
echo "Loaded SASL_PASSWD"
|
||||||
else
|
else
|
||||||
echo "==> Warning: 'SASL_PASSWORD' is not provided. /etc/postfix/sasl_passwd not created."
|
echo "==> Warning: 'SASL_PASSWD' is not provided. /etc/postfix/sasl_passwd not created."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Fixing permissions"
|
echo "Fixing permissions"
|
||||||
|
|
Loading…
Reference in a new issue