postfix: fix query for alias domain maps

This commit is contained in:
genofire 2020-07-25 12:22:37 +02:00
parent 370f0963e6
commit 57a1277eab
1 changed files with 1 additions and 1 deletions

View File

@ -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'