postfix/rootfs/etc/confd/templates/pgsql-virtual-mailbox-domains.cf.tmpl

6 lines
204 B
Cheetah

hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT name FROM virtual_domains WHERE name='%s'