Skip to content
Permalink
Browse files
bug fix: postfix install cent8
  • Loading branch information
usmannasir committed Jun 9, 2020
1 parent 40abc2e commit 9057ad880c5d252f83836643fbe8791a1da8e111
Showing 1 changed file with 4 additions and 2 deletions.
@@ -691,7 +691,9 @@ def install_postfix_davecot(self):
if self.distro == centos:
command = 'yum install --enablerepo=CyberPanel -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre'
elif self.distro == cent8:
command = 'dnf install postfix3 postfix3-mysql -y '
command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm'

command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y'
else:
command = 'apt-get -y debconf-utils'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
@@ -720,7 +722,7 @@ def install_postfix_davecot(self):
if self.distro == centos:
command = 'yum --enablerepo=CyberPanel -y install dovecot dovecot-mysql'
elif self.distro == cent8:
command = 'dnf install dovecot23 dovecot23-mysql -y'
command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y'
else:
command = 'apt-get -y install dovecot-mysql'

0 comments on commit 9057ad8

Please sign in to comment.