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

10 lines
555 B
CFEngine3
Raw Normal View History

2021-12-17 03:33:54 +08:00
user = postgres
password = psqlpass
hosts = dbserver
dbname = postfix
query = SELECT domain FROM domain WHERE domain='%s' AND active = true
#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 = false AND active = true
#optional query to use for transport map support
#query = SELECT domain FROM domain WHERE domain='%s' AND active = true AND NOT (transport LIKE 'smtp%%' OR transport LIKE 'relay%%')