Bläddra i källkod

more robust

pull/85/head
Luke Smith 3 år sedan
förälder
incheckning
f41246d575
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4C50B54A911F6252
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh Visa fil

@@ -253,7 +253,7 @@ sed -i '/^#Canonicalization/s/simple/relaxed\/simple/' /etc/opendkim.conf
sed -i '/^#Canonicalization/s/^#//' /etc/opendkim.conf

sed -e '/Socket/s/^#*/#/' -i /etc/opendkim.conf
sed -i '/\local:\/var\/run\/opendkim\/opendkim.sock/a \Socket\t\t\tinet:12301@localhost' /etc/opendkim.conf
grep -q "^Socket\s*inet:12301@localhost" /etc/opendkim.conf || echo "Socket inet:12301@localhost" >> /etc/opendkim.conf

# OpenDKIM daemon settings, removing previously activated socket.
sed -i "/^SOCKET/d" /etc/default/opendkim && echo "SOCKET=\"inet:12301@localhost\"" >> /etc/default/opendkim


Laddar…
Avbryt
Spara