mailcow/data/conf/postfix/sql/mysql_virtual_domains_maps.cf

6 lines
250 B
CFEngine3
Raw Normal View History

2017-03-02 18:23:23 +08:00
user = mailcow
password = mysafepasswd
hosts = mysql
dbname = mailcow
query = SELECT alias_domain from alias_domain WHERE alias_domain='%s' AND active='1' UNION SELECT domain FROM domain WHERE domain='%s' AND active = '1' AND backupmx = '0'