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

6 lines
201 B
Cheetah
Raw Normal View History

2021-12-21 17:19:11 +00:00
hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT 1 FROM virtual_users WHERE email ='%s'