From 1886010400d24beceec4b2edecb2b109bbc68fad Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Mon, 6 Aug 2012 14:12:35 +0000 Subject: [PATCH] =?UTF-8?q?Bugfixes=20g=C3=A9r=C3=A9ration=20vue=20alias?= =?UTF-8?q?=5Fview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/alternc.install | 2 +- install/mysql.sql | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/install/alternc.install b/install/alternc.install index 5e112be2..ab59d699 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -334,7 +334,7 @@ fi #populate alternc database with the mailname used by postfix to send mail for each vhost # mailname=`cat /etc/mailname` -mysql_query "update table variable SET value="$mailname" where name='mailname_bounce';" +mysql_query "update table variable SET value='"$mailname"' where name='mailname_bounce';" ####################################################################### # Save installed files to check them during next install diff --git a/install/mysql.sql b/install/mysql.sql index 1da64057..2872786d 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -437,6 +437,9 @@ they log in. Set this to 0 or a "false" string to ignore.'); INSERT IGNORE INTO `variable` (name, value, comment) VALUES ('new_email', 0, 'An email will be sent to this address when new accounts are created if set.'); +INSERT IGNORE INTO `variable` (name, value, comment) VALUES ('mailname_bounce', '', +'FQDN of the mail server, used to create vhost virtual mail_adress.'); + -- -- Table structure for table `dbusers` --