postfix/postfix-mysql_virtual_mailbox_maps.cf

6 lines
166 B
CFEngine3

user = postfix
password = _mydbpassword_
hosts = localhost
dbname = postfix
query = SELECT CONCAT(domain,'/',maildir) FROM mailbox WHERE username='%s' AND active = 1