config/mail/postfix/db-relay.cf

3 lines
163 B
CFEngine3

dbpath = /data/mail/config/vmail.db
query = SELECT domain FROM domain WHERE active = 1 AND domain = '%s' AND (transport LIKE 'smtp%%' OR transport LIKE 'relay%%')