I finally got my new Dovecot 2.4 installation going to the point I can
log in from Evolution, but for some reason it won't accept my password.
Here are the pertinent sections from the dovecot.conf, 10-mail.conf,
and dovecot-sql.conf.ext files:

dovecot.conf:

userdb sql {
  query = SELECT home, uid, gid FROM mailbox WHERE username = '%{user |
username}' AND domain = '%{user | domain}' AND active= '1'
  
10-mail.conf:
  
mail_driver = maildir
#mail_home = %{home}
mail_home = /var/vmail/%{user | domain }/%{user | username }
mail_path = ~/mail
mail_inbox_path = /var/vmail/%{user | domain}/%{user | username }
mailbox_list_utf8 = yes

namespace inbox {
   separator = /
   inbox = yes
}

dovecot-sql.conf.ext:

driver = mysql
connect = host=localhost dbname=postfixadmin user=postfixadmin
password=hidden
userdb_default_password_scheme = ARGON2I
password_query = SELECT username AS username, password FROM mailbox
WHERE username = '%{user | username }' AND active= '1'
user_query = SELECT maildir, 2000 AS uid, 2000 AS gid FROM mailbox
WHERE username = '%{user | username }' AND active= '1'
iterate_query = SELECT username AS username FROM mailbox

I hope someone can explain my horrible mistake!

Ken
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to