Skip to content
Snippets Groups Projects
Commit 8027119a authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '5967-sender_login_maps-read-email.cc' into 'develop'

sender_login_maps returns mail_user.cc

Closes #5967

See merge request ispconfig/ispconfig3!1357
parents 010d5183 c9f472bf
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,6 @@ query = SELECT destination FROM mail_forwarding WHERE source = '%s' AND active =
UNION
SELECT login FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND server_id = {server_id}
AND EXISTS (SELECT domain_id FROM mail_domain WHERE domain = SUBSTRING_INDEX(email, '@', -1) AND active = 'y' AND server_id = {server_id})
UNION
SELECT cc FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND disabledeliver = 'y' AND server_id = {server_id}
AND EXISTS (SELECT domain_id FROM mail_domain WHERE domain = SUBSTRING_INDEX(email, '@', -1) AND active = 'y' AND server_id = {server_id})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment