mail_server/dovecot/dovecot-sql.conf.ext_original
2021-05-05 20:09:14 +05:30

6 lines
384 B
Text

driver = mysql
connect = host=localhost dbname=vmailadmin user=vmailadmin password=STRONGPASSWORD
default_pass_scheme = CRAM-MD5
password_query = SELECT username AS user,password FROM mailbox WHERE username = '%u' AND active='1'
user_query = SELECT maildir, 2000 AS uid, 12 AS gid FROM mailbox WHERE username = '%u' AND active='1'
iterate_query = SELECT username AS user FROM mailbox