- user = {{ mail_db_username }}
- password = {{ mail_db_password }}
- hosts = 127.0.0.1
- dbname = {{ mail_db_database }}
- query = SELECT CASE WHEN sendonly = true THEN 'REJECT' ELSE 'OK' END AS access FROM virtual_users WHERE username = '%u' and domain = '%d';
|