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