From becd427f6b8d29baab70413bd85cb1de6086ebeb Mon Sep 17 00:00:00 2001 From: Sadiq Saif Date: Mon, 28 Dec 2020 13:01:27 -0500 Subject: [PATCH 1/3] Update Postfix main.cf template to allow IPv6 setting inet_protocols to all allows Postfix to use IPv6 if available on a host fixes issue #344 --- modoboa_installer/scripts/files/postfix/main.cf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa_installer/scripts/files/postfix/main.cf.tpl b/modoboa_installer/scripts/files/postfix/main.cf.tpl index 6b83357..7af5487 100644 --- a/modoboa_installer/scripts/files/postfix/main.cf.tpl +++ b/modoboa_installer/scripts/files/postfix/main.cf.tpl @@ -1,5 +1,5 @@ inet_interfaces = all -inet_protocols = ipv4 +inet_protocols = all myhostname = %hostname myorigin = $myhostname mydestination = $myhostname From 1a8c2d405a3f2b65f7f0d122e1ebf142f9c1bea8 Mon Sep 17 00:00:00 2001 From: TheMultii <34040020+TheMultii@users.noreply.github.com> Date: Sat, 25 Sep 2021 21:01:51 +0200 Subject: [PATCH 2/3] corrected a typo --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7acd1e7..dd8424e 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ Usage:: $ sudo python3 run.py -If ``python3`` if not installed on your system, please install it. +If ``python3`` is not installed on your system, please install it. A configuration file will be automatically generated the first time you run the installer, please don't copy the From d447bfa81b4c9710784340642a03dbe7df478bb4 Mon Sep 17 00:00:00 2001 From: Xavier Gendre Date: Thu, 7 Oct 2021 22:47:15 +0200 Subject: [PATCH 3/3] Fix PostgreSQL URI SQLAlchemy removed support for `postgres://`, the URI has to start with `postgresql://`. --- modoboa_installer/scripts/automx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa_installer/scripts/automx.py b/modoboa_installer/scripts/automx.py index 6564e7b..b086e9e 100644 --- a/modoboa_installer/scripts/automx.py +++ b/modoboa_installer/scripts/automx.py @@ -34,7 +34,7 @@ class Automx(base.Installer): """Additional variables.""" context = super(Automx, self).get_template_context() sql_dsn = "{}://{}:{}@{}/{}".format( - self.dbengine, + "postgresql" if self.dbengine == "postgres" else self.dbengine, self.config.get("modoboa", "dbuser"), self.config.get("modoboa", "dbpassword"), self.dbhost,