postfix: fix query for alias domain maps
This commit is contained in:
parent
370f0963e6
commit
57a1277eab
|
@ -3,4 +3,4 @@ password = {{ mailserver_db_password }}
|
|||
hosts = {{ mailserver_db_host }}
|
||||
dbname = {{ mailserver_db_name }}
|
||||
|
||||
query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@', alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'
|
||||
query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@', alias_domain.target_domain) AND alias.active = '1' AND alias_domain.active='1'
|
||||
|
|
Loading…
Reference in New Issue