Hi, I configured dovecot IMAP for MySQL authentification. --- start dovecot.conf --- auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf --- end dovecot.conf --- --- start dovecot-mysql.conf --- db_host = localhost db_port = 3306 db_unix_socket = /var/run/mysqld/mysqld.sock db = users db_user = users db_passwd = xxx db_client_flags = 0 password_query = SELECT password FROM users WHERE userid = '%n' AND active = 'Y' user_query = SELECT home, uid, gid FROM users WHERE userid = '%u' --- end dovecot-mysql.conf -- /var/log/mail.log looks fine: --- start mail.log --- Aug 29 14:40:43 vs6020 dovecot: Dovecot starting up Aug 29 14:40:44 vs6020 dovecot-auth: MySQL: connected to localhost --- end mail.log --- But if i try to log in authentification failed. I added the user test to the database and set the user test in my mail client(evolution) I dont know what it could be.. because connecting to mysql worked fine... best regards, Marvin Stark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://dovecot.org/pipermail/dovecot/attachments/20050829/f5f37e6d/attachment.bin>
Am Montag, den 29.08.2005, 10:54 -0700 schrieb Micah Stevens:> Is dovecot aware of the password format? i.e. are you storing in > plaintext, and dovecot is expecting md5's? > > -MicahAh, thanks that was the problem. But now i got a new one. --- start dovecot.conf --- default_mail_env = %h/ --- start dovecot.conf --- --- start log --- Aug 30 16:02:01 vs6020 imap-login: Login: marv [xx.xx.xx.xx] Aug 30 16:02:01 vs6020 imap(marv): Failed to create storage with data: /home/marv/ Aug 30 16:02:01 vs6020 dovecot: child 3792 (imap) returned error 89 --- end log --- What to do? best regards, Marvin Stark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://dovecot.org/pipermail/dovecot/attachments/20050830/a39604bb/attachment.bin>