From 443a01ee2189976a753dfc77479a593e1e079445 Mon Sep 17 00:00:00 2001 From: "Jesus Perez (Ultreia)" Date: Fri, 5 Feb 2016 11:18:39 +0000 Subject: [PATCH 1/4] Fix trying to deliver messages to usernames of group members instead of their e-mail addresses. --- docs/debian-conf.d/router/250_vexim_virtual_domains | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/debian-conf.d/router/250_vexim_virtual_domains b/docs/debian-conf.d/router/250_vexim_virtual_domains index 326fb39c..fbaabba0 100644 --- a/docs/debian-conf.d/router/250_vexim_virtual_domains +++ b/docs/debian-conf.d/router/250_vexim_virtual_domains @@ -95,7 +95,7 @@ virtual_dom_groups: d.domain_id = g.domain_id and g.enabled = '1' and \ g.name = '${quote_mysql:$local_part}'}}} \ {$sender_address} \ - {${lookup mysql{select u.username \ + {${lookup mysql{select concat_ws('@', localpart, d.domain) \ from domains d, groups g, group_contents c, users u \ where d.enabled = '1' and d.domain = '${quote_mysql:$domain}' and \ d.domain_id = g.domain_id and g.name = '${quote_mysql:$local_part}' and \ @@ -104,7 +104,7 @@ virtual_dom_groups: d.domain_id = u.domain_id and u.enabled = '1' \ and u.username = '${quote_mysql:$sender_address}' }}}} data = ${lookup mysql{ \ - select u.username \ + select concat_ws('@', localpart, d.domain) \ from domains d, groups g, group_contents c, users u \ where d.enabled = '1' and \ d.domain = '${quote_mysql:$domain}' and \ From 7370d7f6dcf822b8186e76c31656e5dd4a3e8097 Mon Sep 17 00:00:00 2001 From: "Jesus Perez (Ultreia)" Date: Tue, 9 Feb 2016 10:33:55 +0100 Subject: [PATCH 2/4] Fix members e-mail addresses when editing a group. --- vexim/admingroupchange.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vexim/admingroupchange.php b/vexim/admingroupchange.php index a30f45df..d41a045a 100644 --- a/vexim/admingroupchange.php +++ b/vexim/admingroupchange.php @@ -75,7 +75,7 @@ class="textfield"> - +