wok view postfixadmin/stuff/etc/mysql.d/postfixadmin @ rev 11653

Up apache (2.2.22, security fixes)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:02:20 2012 +0100 (2012-02-11)
parents
children
line source
1 #!/bin/sh
3 mysqldump postfix > /dev/null 2>&1 || mysql <<EOT
4 CREATE DATABASE postfix;
5 CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'postfix';
6 GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost';
7 EOT
9 chmod -x /etc/mysql.d/postfixadmin