mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-06 20:47:35 +02:00
opendkim fix for ubuntu
This commit is contained in:
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user