docker-deploy/mail/conf/postfix/mysql/virtual_domains_maps.cf

10 lines
549 B
CFEngine3
Raw Normal View History

2021-12-17 03:33:54 +08:00
user = postfix
password = password
hosts = dbserver
dbname = postfix
query = SELECT domain FROM domain WHERE domain='%s' AND active = '1'
#query = SELECT domain FROM domain WHERE domain='%s'
#optional query to use when relaying for backup MX
#query = SELECT domain FROM domain WHERE domain='%s' AND backupmx = '0' AND active = '1'
#optional query to use for transport map support
#query = SELECT domain FROM domain WHERE domain='%s' AND active = '1' AND NOT (transport LIKE 'smtp%%' OR transport LIKE 'relay%%')