ansible/pizza1/configs/postfix/pgsql-relay-domains.cf

10 lines
314 B
CFEngine3
Raw Normal View History

2024-01-12 16:51:24 +05:30
# postgres config
hosts = localhost
user = myuser
password = mypassword
dbname = simplelogin
query = SELECT domain FROM custom_domain WHERE domain='%s' AND verified=true
UNION SELECT domain FROM public_domain WHERE domain='%s'
UNION SELECT '%s' WHERE '%s' IN ('sl.projectsegfau.lt', 'sl.psf.lt') LIMIT 1;