aports/config/postfix/pgsql-users.cf

6 lines
175 B
CFEngine3

hosts = postgresql.routinginfo.internal:7550
dbname = mail
user = postfix
password = POSTGRESQL_PASSWORD
query = SELECT userid FROM users WHERE userid = '%u' AND active = '1'