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

6 lines
250 B
CFEngine3
Raw Normal View History

2016-12-10 03:39:02 +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'