From ef8fdecef2fddb6c1b86e2232691a40e43c04293 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 11 Jun 2020 10:55:51 +0500 Subject: [PATCH] bug fix: dovecot for cent8 --- plogical/upgrade.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index d19551574..0cb4cb16c 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1736,6 +1736,11 @@ class Upgrade: command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y' Upgrade.executioner(command, 0) + if os.path.exists('/etc/dovecot/dovecot.conf.rpmsave'): + if os.path.exists('/etc/dovecot/dovecot.conf'): + shutil.move('/etc/dovecot/dovecot.conf', '/etc/dovecot/dovecot.conf.bkcp') + shutil.move('/etc/dovecot/dovecot.conf.rpmsave', '/etc/dovecot/dovecot.conf') + ## Remove Default Password Scheme path = '/etc/dovecot/dovecot-sql.conf.ext'