Skip to content

Commit 8027119

Browse files
author
Marius Burkard
committed
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
2 parents 010d518 + c9f472b commit 8027119

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/tpl/mysql-virtual_sender_login_maps.cf.master

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ query = SELECT destination FROM mail_forwarding WHERE source = '%s' AND active =
99
UNION
1010
SELECT login FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND server_id = {server_id}
1111
AND EXISTS (SELECT domain_id FROM mail_domain WHERE domain = SUBSTRING_INDEX(email, '@', -1) AND active = 'y' AND server_id = {server_id})
12+
UNION
13+
SELECT cc FROM mail_user WHERE email = '%s' AND disablesmtp = 'n' AND disabledeliver = 'y' AND server_id = {server_id}
14+
AND EXISTS (SELECT domain_id FROM mail_domain WHERE domain = SUBSTRING_INDEX(email, '@', -1) AND active = 'y' AND server_id = {server_id})

0 commit comments

Comments
 (0)