Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[egroupware] IMAP Login funktioniert nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Wed Jan 03, 2007 6:32 pm    Post subject: [egroupware] IMAP Login funktioniert nicht Reply with quote

Hallo Board.

Ich hab mir courier und courier-authlib nach diesem Tutorial installiert: http://gentoo-wiki.com/HOWTO_Email_Virtual_Hosting_with_Courier_and_MySQL.
Funktiniert mit Thundebird von anderen Rechnern aus prima.

Dann hab ich egroupware (www-apps/egroupware-1.2.105) installiert. Dort funktiniert alles bis auf der IMAP Client.

In den Logs steht folgendes nach einem Verbindungsversuch:

Code:

Jan  3 20:29:14 hostname imapd-ssl: Connection, ip=[::ffff:192.168.1.2]
Jan  3 20:29:14 hostname authdaemond: received auth request, service=imap, authtype=cram-md5
Jan  3 20:29:14 hostname authdaemond: authmysql: trying this module
Jan  3 20:29:14 hostname authdaemond: cram: challenge=PDJBRTBGNzQ4MzQzHZTBMDVEMzA4MDFGOEY4RTgyMzgxQGRleGNzZXJ2Pg==, response=bW1hY2tAbWFja2xpdafUuZGUgOTMyYmNjMGI5YmM3OWUwYWVkMzkyZTg5NWE3MGExYWM=
Jan  3 20:29:14 hostname authdaemond: cram: decoded challenge/response, username 'user@hostname.de'
Jan  3 20:29:14 hostname authdaemond: SQL query: SELECT id, crypt, clear, uid, gid, home, maildir, quota, "", "" FROM passwd WHERE id = "user@hostname.de"
Jan  3 20:29:14 hostname authdaemond: authmysql: REJECT - try next module
Jan  3 20:29:14 hostname authdaemond: FAIL, all modules rejected
Jan  3 20:29:14 hostname imapd-ssl: LOGIN FAILED, method=CRAM-MD5, ip=[::ffff:192.168.1.2]


In Egroupware kommt das hier:
Code:

Die Verbindung zum IMAP Server ist fehlgeschlagen

Can not authenticate to IMAP server: Login failed.


Ich hab mir eigene Zertifikate bei https://www.cacert.org gemacht, da egroupware nicht mit selfigned auskommt, wenn ich das richtig verstanden habe.

Kann mir einer sagen warum der IMAP Connect nicht geht und wie ich das behebe?
Ich sitzte jetzt schon seit heute Morgen an der Sache und bekomms nicht hin.

Vielen Dank

dexcs

P.s.: Bin morgen Snowboarden, werde erst am Freitag antworten können. Danke.
Back to top
View user's profile Send private message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Thu Jan 04, 2007 9:13 pm    Post subject: Reply with quote

Kann mir keiner helfen? :?
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Thu Jan 04, 2007 11:52 pm    Post subject: Reply with quote

"user@hostname.de": Ist das ein Default oder hast Du das echt so vergeben?

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Fri Jan 05, 2007 12:30 pm    Post subject: Reply with quote

Sry, vergaß ich zu erwähnen, ich hab das nur oben so abgeändert, in wirklichkeit steht da die richtige domain. :oops:
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Fri Jan 05, 2007 12:43 pm    Post subject: Reply with quote

Kann es vielleicht an der Authentifizierungsmethode liegen?
Code:
Jan  3 20:29:14 hostname authdaemond: authmysql: REJECT - try next module
Jan  3 20:29:14 hostname authdaemond: FAIL, all modules rejected                            # Klingt nicht so gut
Jan  3 20:29:14 hostname imapd-ssl: LOGIN FAILED, method=CRAM-MD5, ip=[::ffff:192.168.1.2]

_________________
I am /root and if you see me laughing you better have a backup.
Back to top
View user's profile Send private message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Fri Jan 05, 2007 12:51 pm    Post subject: Reply with quote

Das hab ich mir auch gedacht, nur wie stelle ich die um?
Ich hab mir dann gedacht, ok, vielleicht baut egroupware scheiß und hab mir mal die Zeile ausgeben lassen die die Verbindung herstellt.

Code:

{meinedomain.de:143/imap}INBOX, dexcs@meinedomain.de, meinpasswd

So versucht egroupware die verbindung herzutellen (php:imap_open).

Ich hab mir aber im Chan von egroupware sagen lassen das es zu 90% an den Mailservern liegt das die Verbindung nicht klappt, und ich habe auch Leute getroffen bei denen das mit courier klappt.

Wie dem auch sei, ich bin mit meinem bisschen Latain am ende. :?

Gruß dexcs
Back to top
View user's profile Send private message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Fri Jan 05, 2007 3:25 pm    Post subject: Reply with quote

Bin der Sache etwas näher gekommen.
Wenn ich die challenge und den responde decode dann kommen 2 unterschiedliche Sachen raus.

Sieht dann so aus:
1C01E9821607657991364CB7F3FE971C@HostnameDesRechners <-- challenge
dexcs@MeineDomain.de 0c3b9c9c50a6a7f650d374686432b46d <-- respond

Stimmt das? Kommt mir komisch vor, dachte der vergleicht die beiden.
Back to top
View user's profile Send private message
dexcs
n00b
n00b


Joined: 12 Oct 2006
Posts: 20

PostPosted: Fri Jan 05, 2007 5:18 pm    Post subject: Reply with quote

Ok, ich hab den Fehler gefunden. Ich hab einfach "AUTH=CRAM-MD5" aus "IMAP_CAPABILITY" rausgeschmissen. :? 8O
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Fri Jan 05, 2007 5:38 pm    Post subject: Reply with quote

dexcs wrote:
Ok, ich hab den Fehler gefunden. Ich hab einfach "AUTH=CRAM-MD5" aus "IMAP_CAPABILITY" rausgeschmissen. :? 8O

Genau so etwas hatte ich mir erhofft. :wink:

//edit: Kannst du noch bitte ein [solved] im Thread-Titel unterbringen?
_________________
I am /root and if you see me laughing you better have a backup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum