bundlewrap/bundles/postfix/files/virtual_alias_maps.cf
mwiegand 91ab7fc91e wip
2021-07-08 17:47:16 +02:00

5 lines
253 B
CFEngine3

hosts = ${host}
dbname = ${name}
user = ${user}
password = ${password}
query = SELECT redirect FROM users LEFT JOIN domains ON users.domain_id = domains.id WHERE redirect IS NOT NULL AND domains.name = '%d' AND (users.name = '%u' OR users.name IS null)