dovecot/rootfs/etc/confd/templates/dovecot-sql.userdb.conf.ext.tmpl
Sebastian Hugentobler f45cab5235
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 1m0s
use alpine packages, no longer need to compile ourselves
2024-04-26 14:55:30 +02:00

4 lines
246 B
Cheetah

driver = pgsql
connect = host={{ getenv "DB_HOST" }} dbname={{ getenv "DB_NAME" }} user={{ getenv "DB_USER" }} password={{ getenv "DB_PW" }}
user_query = SELECT COUNT(email) as count FROM virtual_users WHERE email = '%n' HAVING COUNT(email) > 0;