2. Edit the file so that the table 'groups' is renamed to 'mygroups' or whatever you want as long as it's not called 'groups'
3. Import the DB again
4. Edit the��exim-group-router.conf.inc so that the table being used in the query is 'mygroups'
virtual_dom_
mygroups:
�� driver = redirect
�� allow_fail
�� senders = ${if eq{Y}{${lookup mysql{select g.is_public \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� from
mygroups g, domains d \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� where d.enabled = '1' and d.domain = '${quote_mysql:$domain}' and \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� d.domain_id = g.domain_id and g.enabled = '1' and \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��
g.name = '${quote_mysql:$local_part}'}}} \
�� �� �� �� �� �� �� �� ��{$sender_address} \
�� �� �� �� �� �� �� �� ��{${lookup mysql{select u.username \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��from domains d,
mygroups 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 \
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��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}' }}}}
�� data = ${lookup mysql{ \
�� �� �� �� �� �� select u.username \
�� �� �� �� �� �� from domains d,
mygroups 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.enabled �� �� = '1' �� �� �� �� �� and \
�� �� �� �� �� �� �� �� ��
g.id �� �� �� �� ��= c.group_id �� ��and \
�� �� �� �� �� �� �� �� �� c.member_id �� = u.user_id �� �� and \
�� �� �� �� �� �� �� �� �� d.domain_id �� = u.domain_id �� and \
�� �� �� �� �� �� �� �� �� u.enabled �� �� = '1' �� �� �� �� �� and \
�� �� �� �� �� �� �� �� ��
g.name �� �� �� ��= '${quote_mysql:$local_part}'} }
�� local_part_suffix = -*
�� local_part_suffix_optional
�� retry_use_local_part
�� reply_transport = address_reply
�� pipe_transport = address_pipe