10 lines
495 B
CFEngine3
10 lines
495 B
CFEngine3
# THIS FILE IS CONTROLLED BY ANSIBLE - DO NOT CHANGE IN DEPLOYMENT!
|
|
|
|
|
|
# man pgsql_table
|
|
|
|
user = {{ mailserver.postgresql.username }}
|
|
password = {{ mailserver.postgresql.password }}
|
|
dbname = {{ mailserver.postgresql.dbname }}
|
|
hosts = {{ mailserver.postgresql.host }}
|
|
query = SELECT users.username || '@' || domains.name FROM users JOIN domains ON users.domain_id=domains.id WHERE domains.relay_transport is null AND users.username='%u' AND users.suspend_submission IS false AND domains.name='%d'
|