lotus/postfix-config/map-provider/mysql_example.cf

6 lines
270 B
CFEngine3
Raw Normal View History

2023-08-21 00:26:22 +01:00
user = example
password = 1234
hosts = 127.0.0.1
dbname = mail
query = SELECT aliasMap.goto FROM aliasMap,aliasdomainMap WHERE aliasdomainMap.domain='%d' AND aliasMap.address = CONCAT('%u', '@', aliasdomainMap.goto) AND aliasMap.active > 0 AND aliasdomainMap.active > 0