From db62251971cc4610eba562c4f201b90bbdc6760d Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 31 Jan 2014 07:40:25 +0000 Subject: [PATCH] =?UTF-8?q?Ca=20aurait=20pas=20mieux=20march=C3=A9..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/alternc/templates/postfix/mymail2mail.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/alternc/templates/postfix/mymail2mail.cf b/etc/alternc/templates/postfix/mymail2mail.cf index 03819a1e..c882ebd1 100644 --- a/etc/alternc/templates/postfix/mymail2mail.cf +++ b/etc/alternc/templates/postfix/mymail2mail.cf @@ -8,6 +8,6 @@ user = %%db_mail_user%% password = %%db_mail_pwd%% hosts =%%dbhost%% dbname = %%dbname%% -query = concat(`address`.`address`,'@',`domaines`.`domaine`) AS `mail` from address,domaines where `address`.`enabled` = 1 and `address`.`domain_id` = domaines.id and concat(`address`.`address`,'@',`domaines`.`domaine`) = '%s'; +query = select concat(`address`.`address`,'@',`domaines`.`domaine`) AS `mail` from address,domaines where `address`.`enabled` = 1 and `address`.`domain_id` = domaines.id and concat(`address`.`address`,'@',`domaines`.`domaine`) = '%s';