docker-deploy/mail/conf/postfix/mysql/virtual_alias_domain_maps.cf
2021-12-17 03:33:54 +08:00

5 lines
266 B
CFEngine3

user = postfix
password = password
hosts = dbserver
dbname = postfix
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'