5 lines
279 B
CFEngine3
5 lines
279 B
CFEngine3
user = postgres
|
|
password = psqlpass
|
|
hosts = dbserver
|
|
dbname = postfix
|
|
query = SELECT maildir FROM mailbox,alias_domain WHERE alias_domain.alias_domain = '%d' and mailbox.username = CONCAT('%u', '@', alias_domain.target_domain) AND mailbox.active=true AND alias_domain.active=true |