<HTML dir=ltr><HEAD></HEAD>
<BODY>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hallo zusammen,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>ich versuche gerade meinen Cyrus dazu zu bringen, sich Benutzername und Passwort via SQL zu holen. Ich habe es wie im Buch von Peer & Peer beschrieben eingerichtet</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>----config---</FONT></DIV>
<DIV dir=ltr>sasl_pwcheck_method: auxprop</DIV>
<DIV dir=ltr># What auxpropd plugins to load, if using sasl_pwcheck_method: auxprop<BR># by default, all plugins are tried (which is probably NOT what you want).<BR>sasl_auxprop_plugin: sql</DIV>
<DIV dir=ltr>sasl_sql_engine: mysql<BR>sasl_sql_hostnames: 192.168.87.110<BR>sasl_sql_user: cyrus<BR>sasl_sql_passwd: cyrus<BR>sasl_sql_database: mailadmin<BR>sasl_sql_verbose: yes<BR>sasl_sql_select: SELECT password FROM user WHERE mbox = ´%u´ AND active = ´1´<BR>sasl_sql_usessl: 0<BR>---end config---</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Wenn ich mich jedoch anmelden möchte mit dem in der Datenbank existierenden Benutzer cyrus, dann bekomm ich folgenden Fehler:</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>x-mail:~# cyradm -auth login localhost -user cyrus<BR>IMAP Password:<BR>              Login failed: authentication failure at /usr/lib/perl5/Cyrus/IMAP/Admin.pm line 119<BR>cyradm: cannot authenticate to server with login as cyrus<BR></DIV>
<DIV dir=ltr>Im Maillog steht leider auch nichts Hilfreiches:</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Sep 26 23:47:56 x-mail cyrus/imap[4470]: executed<BR>Sep 26 23:47:56 x-mail cyrus/imap[4470]: accepted connection<BR>Sep 26 23:47:59 x-mail cyrus/imap[4470]: badlogin: localhost [127.0.0.1] plaintext admin SASL(-13): user not found: checkpass failed</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Die Passwörter stehen verschlüsselt in der Datenbank (DB erstellt via openmailadmin). Habe Testweise auch mal ein Benutzer manuell mit Klartextpasswort erstellt. Da kommt der gleiche Fehler.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Schonmal Danke für eure Hilfe :)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>MfG Jörg</DIV></BODY></HTML>