mailcow/data/conf/postfix/sql/mysql_virtual_alias_domain_maps.cf
2016-12-09 20:39:02 +01:00

6 lines
268 B
CFEngine3

user = mailcow
password = mysafepasswd
hosts = mysql
dbname = mailcow
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'