# Database driver: mysql, pgsql, sqlite driver = mysql [...] # Database connection string. This is driver-specific setting. connect = host=127.0.0.1 dbname=mailserver user=mailuser password=example_password [...] # Default password scheme. default_pass_scheme = SHA512-CRYPT [...] # passdb query to retrieve the password. password_query = SELECT email as user, password FROM virtual_users WHERE email='%u';