Skip to content
Permalink
Browse files

Fix errors when the user is a member of multiple groups

This query returns multiple records when the user is a member of multiple groups and email gets rejected. Exim expects a single record here.
  • Loading branch information
luqelinux committed Nov 27, 2019
1 parent 5ff5f37 commit 065f36673e4074775b6adcf5f2407a339d48adc5
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/debian-conf.d/router/250_vexim_virtual_domains
@@ -93,7 +93,7 @@ virtual_dom_groups:
g.enabled = '1' and \
g.is_public = 'N' and c.member_id = u.user_id and \
d.domain_id = u.domain_id and u.enabled = '1' \
and u.username = '${quote_mysql:$sender_address}' }}}}
and u.username = '${quote_mysql:$sender_address}' limit 1}}}}
data = ${lookup mysql{ \
select concat_ws('@', u.localpart, d.domain) \
from domains d, groups g, group_contents c, users u \

0 comments on commit 065f366

Please sign in to comment.
You can’t perform that action at this time.