diff --git a/install/install.py b/install/install.py index 33f398537..48d6c197d 100755 --- a/install/install.py +++ b/install/install.py @@ -1827,6 +1827,10 @@ imap_folder_list_limit = 0 preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) + if self.distro == cent8: + command = 'dnf install opendkim-tools -y' + preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) + if self.distro == ubuntu: command = 'apt install opendkim-tools -y' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) diff --git a/plogical/mailUtilities.py b/plogical/mailUtilities.py index 761d6a493..674d24a67 100755 --- a/plogical/mailUtilities.py +++ b/plogical/mailUtilities.py @@ -1539,6 +1539,10 @@ class MailServerManagerUtils(multi.Thread): def configureOpenDKIM(self): try: + if ProcessUtilities.decideDistro() == ProcessUtilities.cent8: + command = 'dnf install opendkim-tools -y' + ProcessUtilities.executioner(command) + ## Configure OpenDKIM specific settings openDKIMConfigurePath = "/etc/opendkim.conf"