I have attempted to upgrade my 2.3 installation to 2.4 but it will not allow my
users to login closing the connections as authentication failures. My 2.3
installation has worked for many years and I simply attempted to make the
changes that the dovecot documentation says are necessary to get 2.4 to work. I
am running dovecot alongside Exim using mysql for the user addresses and
passwords. Does anybody have any ideas as to why authentication is not
working? Thanks in advance!.... Here is my dovecot.conf file:
# *** REQUIRED *** Dovecot config and storage versions
dovecot_config_version = 2.4.2
dovecot_storage_version = 2.4.2
passdb sql {
query = SELECT crypt as password FROM users WHERE username = '%{user}' AND
(type = 'local' OR type = 'piped');
}
userdb sql {
query = SELECT pop as home, uid, gid FROM users WHERE username =dovecot:
auth: Fatal: auth-cache: SELECT crypt as password FROM users WHERE username =
'%u' AND (type = 'local' OR type = 'piped');: Cache key must contain at least
one variable
'%{user}';
}
sql_driver = mysql
mysql /var/run/mysqld/mysqld.sock {
user = exim4u
password = SECRET
dbname = exim4u
}
protocols {
imap = yes
pop3 = yes
}
protocol imap {
mail_max_userip_connections = 50
}
protocol pop3 {
pop3_uidl_format = %{uid}%{uidvalidity}
}
service auth {
user = dovecot
}
ssl = required
ssl_server_cert_file = /etc/pki/tls/exim_tls/exim.cert
ssl_server_key_file = /etc/pki/tls/exim_tls/exim.key
ssl_server_dh_file = /etc/dovecot/dh.pem
ssl_cipher_list =
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:
ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]