From be3c66128ca4ea4621e0e71368be6260d1f0da40 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Tue, 19 Aug 2025 18:36:48 +0500 Subject: [PATCH] bug fix: postfix/dovecot on alma9 --- install/install.py | 4 ++-- mailServer/mailserverManager.py | 2 +- plogical/mailUtilities.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install/install.py b/install/install.py index 6a3479df6..8f3d91675 100644 --- a/install/install.py +++ b/install/install.py @@ -951,10 +951,10 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; version = int(clAPVersion.split('-')[1]) if type == 'al' and version >= 90: - command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el9.noarch.rpm' + command = 'dnf --nogpg install -y https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el9.noarch.rpm' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) else: - command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el8.noarch.rpm' + command = 'dnf --nogpg install -y https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el8.noarch.rpm' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y' diff --git a/mailServer/mailserverManager.py b/mailServer/mailserverManager.py index 4673eb066..1d89fb3fe 100644 --- a/mailServer/mailserverManager.py +++ b/mailServer/mailserverManager.py @@ -943,7 +943,7 @@ class MailServerManager(multi.Thread): command = 'yum install --enablerepo=gf-plus -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre' elif ProcessUtilities.decideDistro() == ProcessUtilities.cent8: - 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 --nogpg install -y https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el8.noarch.rpm' ProcessUtilities.executioner(command) command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y' diff --git a/plogical/mailUtilities.py b/plogical/mailUtilities.py index ca44d9f4c..2ecb14f64 100644 --- a/plogical/mailUtilities.py +++ b/plogical/mailUtilities.py @@ -1832,7 +1832,7 @@ class MailServerManagerUtils(multi.Thread): if ProcessUtilities.decideDistro() == ProcessUtilities.centos: - command = 'yum --nogpg install https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm -y' + command = 'yum --nogpg install https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el7.noarch.rpm -y' ProcessUtilities.executioner(command) command = 'yum install --enablerepo=gf-plus -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre' @@ -1843,11 +1843,11 @@ class MailServerManagerUtils(multi.Thread): version = int(clAPVersion.split('-')[1]) if type == 'al' and version >= 90: - command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el9.noarch.rpm' + command = 'dnf --nogpg install -y https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el9.noarch.rpm' ProcessUtilities.executioner(command) else: - command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el8.noarch.rpm' + command = 'dnf --nogpg install -y https://mirror.ghettoforge.net/distributions/gf/gf-release-latest.gf.el8.noarch.rpm' ProcessUtilities.executioner(command) command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y'