1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-27 23:57:15 +00:00
Files
mailcow-dockerized/data/conf/postfix/config_templates/mysql_virtual_resource_maps.cf.j2

7 lines
216 B
Django/Jinja

user = {{ DBUSER }}
password = {{ DBPASS }}
hosts = unix:/var/run/mysqld/mysqld.sock
dbname = {{ DBNAME }}
query = SELECT 'null@localhost' FROM mailbox
WHERE kind REGEXP 'location|thing|group' AND username = '%s';