From 60b6c13131ceee116df8338e9573abf990db6d7b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:26:06 +0100 Subject: [PATCH] grant ALTER permission to postifx database user required by postfixadmin [release 2.11.3-4mamba;Sat Jan 17 2015] --- postfix.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/postfix.spec b/postfix.spec index 2ed5077..8b74c31 100644 --- a/postfix.spec +++ b/postfix.spec @@ -9,7 +9,7 @@ Name: postfix Version: 2.11.3 -Release: 3mamba +Release: 4mamba Summary: A fast, easy to administer, and secure mail transfer agent Group: System/Servers Vendor: openmamba @@ -206,8 +206,8 @@ mysqlshow postfix >/dev/null 2>/dev/null || { cat << EOF | mysql -u root postfix grant INSERT,SELECT on root.* to postfix@localhost; SET PASSWORD FOR postfix@localhost=PASSWORD('$RANDOM_PASSWD'); -grant CREATE,INSERT,SELECT,DELETE,UPDATE on postfix.* to postfix@localhost; -grant CREATE,INSERT,SELECT,DELETE,UPDATE on postfix.* to postfix; +grant CREATE,INSERT,SELECT,DELETE,UPDATE,ALTER on postfix.* to postfix@localhost; +grant CREATE,INSERT,SELECT,DELETE,UPDATE,ALTER on postfix.* to postfix; exit EOF @@ -302,6 +302,9 @@ exit 0 %attr(0771,vmail,vmail) %dir %{_localstatedir}/spool/deleted-maildirs %changelog +* Sat Jan 17 2015 Silvan Calarco 2.11.3-4mamba +- grant ALTER permission to postifx database user required by postfixadmin + * Wed Jan 14 2015 Silvan Calarco 2.11.3-3mamba - fix check for postifx installed before systemd migration