imapd dies when connecting with Mozilla-1.6beta Mail IMAP account

Hajo Beckefeld hajo at beckefeld-online.de
Sun Jan 4 17:47:59 EST 2004


Hi Ken,

>>
>> I'm running a cyrus IMAP server 2.1.16 on an Linux 2.2.25 machine.
>> When I try connect from an Mozilla 1.6/1.7 IMAP client, I can't 
>> establish the connection. The log just says:
>>
>> Jan  4 13:52:43 jinn master[12215]: about to exec /usr/cyrus/bin/imapd
>> Jan  4 13:52:43 jinn imap[12215]: executed
>> Jan  4 13:52:43 jinn imapd[12215]: accepted connection
>> Jan  4 13:52:50 jinn master[2293]: process 12215 exited, signaled to 
>> death by 11
> 
> 
> Can you provide a backtrace of a core dump and/or a telemetry log of the 
> traffic?  Since it looks like its crashing before/during authentication, 
> you'll need to use something like ssldump (or the like) to capture the 
> IMAP traffic.
> 

I posted a lot of informations.
Now my configuration is working! I update cyrus-sasl to v2.1.17! Then I 
get the following log:

Jan  4 23:19:04 jinn imapd[25587]: badlogin: 
oola.beckefeld-online.de[192.168.1.42] CRAM-MD5 [SASL(-13): user not 
found: no secret in database]
Jan  4 23:19:07 jinn imapd[25587]: login: 
oola.beckefeld-online.de[192.168.1.42] hajo plaintext
Jan  4 23:19:07 jinn imapd[25587]: seen_db: user hajo opened 
/var/imap/user/h/hajo.seen
Jan  4 23:19:07 jinn imapd[25587]: open: user hajo opened INBOX

... and can access my mail account via imap.

When I put a line "sasl_mech_list: PLAIN LOGIN" in my /etc/imapd.conf 
the "badlogin message don't occur! That means for me, that the 
authentication with CRAM-MD5 wasn't attempted by the Mozilla Mail Client?!?

When I try:
jinn:[hajo]# cyradm --user cyrus --auth CRAM-MD5 localhost
cyradm: cannot authenticate to server with CRAM-MD5 as cyrus

log:
Jan  4 23:25:16 jinn imapd[25591]: badlogin: 
jinn.beckefeld-online.de[127.0.0.1] CRAM-MD5 [SASL(-13): user not found: 
no secret in database]

With auth PLAIN everything works fine!

My sasldb2 looks like this:

jinn:[hajo]# ls -l /etc/sasldb2
-rw-r-----    1 cyrus    mail        12288 Jan  4 22:51 /etc/sasldb2

jinn:[hajo]# sasldblistusers2
cyrus at jinn.beckefeld-online.de: cmusaslsecretOTP
cyrus at jinn.beckefeld-online.de: userPassword

I've no idea what I have to do to get the CRAM-MD5 stuff running!

Thanks for your help
Hajo




More information about the Info-cyrus mailing list