wok-6.x view postfixadmin/stuff/etc/mysql.d/postfixadmin @ rev 7824

Add postfixadmin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 26 12:02:09 2010 +0100 (2010-12-26)
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