From e9870510664ee6bd9af42896c47e885d2f265377 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 11 Jun 2020 10:27:04 +0500 Subject: [PATCH] bug fix: dovecot for cent8 --- plogical/upgrade.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index f3da379a8..d19551574 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1729,6 +1729,13 @@ class Upgrade: command = "yum update -y" Upgrade.executioner(command, 0) + if Upgrade.decideCentosVersion() == CENTOS8: + command = 'dnf remove dovecot23 dovecot23-mysql -y' + Upgrade.executioner(command, 0) + + command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y' + Upgrade.executioner(command, 0) + ## Remove Default Password Scheme path = '/etc/dovecot/dovecot-sql.conf.ext'