# Database driver: mysql, pgsql driver = mysql # Currently supported schemes include PLAIN, PLAIN-MD5, DIGEST-MD5, and CRYPT. default_pass_scheme = PLAIN-MD5 # Database options connect = host=localhost dbname=postfix user=dovecot password=randompassword password_query = SELECT password FROM mailbox WHERE username = '%u' AND active = '1' user_query = SELECT maildir, 189 AS uid, 189 AS gid FROM mailbox WHERE username = '%u' AND active = '1' # eof