diff --git a/setup/dkim.sh b/setup/dkim.sh index e4def11f..2be668f0 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -6,7 +6,7 @@ # # The DNS configuration for DKIM is done in the management daemon. -source setup/functions.sh # load our functions +source setup/functions.sh # load our functions source /etc/mailinabox.conf # load global vars # Install DKIM... @@ -14,12 +14,12 @@ echo "Installing OpenDKIM/OpenDMARC..." apt_install opendkim opendkim-tools opendmarc # Make sure configuration directories exist. -mkdir -p /etc/opendkim; +mkdir -p /etc/opendkim mkdir -p "$STORAGE_ROOT/mail/dkim" # Used in InternalHosts and ExternalIgnoreList configuration directives. # Not quite sure why. -echo "127.0.0.1" > /etc/opendkim/TrustedHosts +echo "127.0.0.1" >/etc/opendkim/TrustedHosts # We need to at least create these files, since we reference them later. # Otherwise, opendkim startup will fail @@ -30,7 +30,7 @@ if grep -q "ExternalIgnoreList" /etc/opendkim.conf; then true # already done #NODOC else # Add various configuration options to the end of `opendkim.conf`. - cat >> /etc/opendkim.conf << EOF; + cat >>/etc/opendkim.conf <