bundlewrap/bundles/postfix/files/virtual_mailbox_maps.cf
mwiegand 15cb28e132 wip
2021-06-16 00:40:20 +02:00

5 lines
263 B
CFEngine3

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