opendkim fix for ubuntu

This commit is contained in:
usmannasir
2018-11-07 22:50:14 +05:00
parent 3d26220341
commit 5fb2b31cbd
3 changed files with 12 additions and 3 deletions

View File

@@ -2867,6 +2867,9 @@ class preFlightsChecks:
command = 'mkdir -p /etc/opendkim/keys/'
subprocess.call(shlex.split(command))
command = "sed -i 's/Socket local:/var/run/opendkim/opendkim.sock/Socket inet:8891@localhost/g' /etc/opendkim.conf"
subprocess.call(shlex.split(command))
except OSError, msg:
logging.InstallLog.writeToFile(str(msg) + " [installOpenDKIM]")