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';