PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : cyrus: IMAP Error - Login nicht möglich



TheAnimal
24.04.08, 10:34
Hallo Zusammen,
ich habe einen Suse 10.3 64Bit Server und wollte da einen Mailserver aufsetzen. Dabei bin ich nach folgender Anleitung gegangen: postfix-howto.de (http://www.postfix-howto.de/index.htm). Um die Konto zu verwalten wollte ich web-cyradm nutzen. Jetzt komme ich zu meinen Problemen. In web-cyradm kann ich mich einloggen. Eine Domain habe ich auch angelegt. Jetzt wollte ich Konten anlegen.
Leider bekomme ich dann folgende Fehlermeldung:

IMAP Error: . NO Login failed: authentication failure

in /var/log/messages kommt folgendes:

Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: executed
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql auxprop plugin using mysql engine
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: accepted connection
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin Parse the username cyrus
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin try and connect to a host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin trying to open db '' on host ''
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin could not connect to host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin couldn't connect to any host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin Parse the username cyrus
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin try and connect to a host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin trying to open db '' on host ''
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin could not connect to host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin couldn't connect to any host
Apr 24 10:31:50 openSUSE-103-64-LAMP saslauthd[26879]: pam_warn(imap:account): function=[pam_sm_acct_mgmt] service=[imap] terminal=[<unknown>] user=[cyrus] ruser=[<unknown>] rhost=[<unknown>]
Apr 24 10:31:50 openSUSE-103-64-LAMP saslauthd[26879]: DEBUG: auth_pam: pam_acct_mgmt failed: Authentication failure
Apr 24 10:31:50 openSUSE-103-64-LAMP saslauthd[26879]: do_auth : auth failure: [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM acct error]
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: badlogin: localhost [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass failed


In meiner /etc/imapd.conf steht folgendes:

postmaster: postmaster
configdirectory: /var/imap
partition-default: /srv/email
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
#sasl_mech_list: PLAIN
servername: epmsmail.de
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain login
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
unixhierarchysep: yes
#tls_ca_file: /etc/certs/cert.pem
#tls_cert_file: /etc/certs/cert.pem
#tls_key_file: /etc/certs/key.pem
sasl_sql_select: dummy


Kann mir da jemand weiterhelfen? Ich habe schon bei Google gesucht. Leider nichts brauchbares gefunden.
Im voraus vielen Dank.

jockelicke
24.04.08, 13:22
Hi,

gibts den Benutzer Cyrus in Mysql?

MfG
jockelicke

TheAnimal
24.04.08, 14:36
Den gibt es. In der Tabelle accountuser

cane
24.04.08, 15:10
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin could not connect to host
Apr 24 10:31:50 openSUSE-103-64-LAMP imap[26919]: sql plugin couldn't connect to any host

Irgendwas stimmt mit der Datenbankconnection nicht.

mfg
cane

TheAnimal
24.04.08, 16:47
In Google habe ich dazu schon was gefunden. Da ist das Problem, dass das Plugin mitgeladen wird obwohl es nicht gebraucht wird.

Ich bin der Meinung, dass mein Problem bei sasl2 liegt. Ich kann da keinen User cyrus anlegen. Dort kommt nur die Meldung:

saslpasswd2 -c cyrus
Password:
Again (for verification):
saslpasswd2: generic failure

In /var/log/messages steht dazu folgendes

Apr 24 16:34:32 openSUSE-103-64-LAMP saslpasswd2: sql_select option missing
Apr 24 16:34:32 openSUSE-103-64-LAMP saslpasswd2: auxpropfunc error no mechanism available
Apr 24 16:34:32 openSUSE-103-64-LAMP saslpasswd2: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Apr 24 16:34:47 openSUSE-103-64-LAMP saslpasswd2: error updating sasldb: Invalid argument
Apr 24 16:34:47 openSUSE-103-64-LAMP saslpasswd2: error closing sasldb: Invalid argument
Apr 24 16:34:47 openSUSE-103-64-LAMP saslpasswd2: setpass failed for cyrus: generic failure
Leider finde ich in google nichts was mir weiterhelfen kann.
Hier jemand der mir helfen kann?

TheAnimal
25.04.08, 13:08
Habe das mit Cyrus ad acta gelegt und versuche es jetzt mit Courier. Die Probleme dich ich damit habe stehe in einem anderen Thread.:)