docker-deploy/mail/conf/postfix/pgsql/virtual_alias_domain_catchall_maps.cf

5 lines
264 B
CFEngine3
Raw Normal View History

2021-12-17 03:33:54 +08:00
user = postgres
password = psqlpass
hosts = dbserver
dbname = postfix
query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('@', alias_domain.target_domain) AND alias.active=true AND alias_domain.active=true