grant ALTER permission to postifx database user required by postfixadmin [release 2.11.3-4mamba;Sat Jan 17 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 10:26:06 +01:00
parent 4b433d1ec7
commit 60b6c13131

View File

@ -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 <silvan.calarco@mambasoft.it> 2.11.3-4mamba
- grant ALTER permission to postifx database user required by postfixadmin
* Wed Jan 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.3-3mamba
- fix check for postifx installed before systemd migration