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

6 lines
213 B
Cheetah
Raw Normal View History

2021-08-23 13:20:57 +00:00
hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT destination FROM virtual_aliases WHERE source='%s'