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

Hajo Beckefeld hajo at beckefeld-online.de
Sun Jan 4 11:51:00 EST 2004


Ok, I traced it with tethereal it's more readable, I think;-)
> 
> The IMAP traffic should at least tell us what the client is trying to do.
> 
I hope this might help!
For me it looks like Mozilla-1.6 sends username/passwd not in clear text 
put something encoded and cyrus-imapd can't handle that!?!

c-You
Hajo

This is the login and the first "Get Msgs":

Mozilla-1.6beta - not working


jinn:[/root]# tethereal -i eth0 -n 'dst port imap or src port imap'
Capturing on eth0
   0.000000 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [SYN] 
Seq=3905136509 Ack=0 Win=5840 Len=0
   0.000057 192.168.1.30 -> 192.168.1.42 TCP 143 > 32822 [SYN, ACK] 
Seq=1044389215 Ack=3905136510 Win=32120 Len=0
   0.000155 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [ACK] 
Seq=3905136510 Ack=1044389216 Win=5840 Len=0
   0.029703 192.168.1.30 -> 192.168.1.42 IMAP Response: * OK 
mail.beckefeld-online.de Cyrus IMAP4 v2.1.16 server ready
   0.029853 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [ACK] 
Seq=3905136510 Ack=1044389280 Win=5840 Len=0
   0.092080 192.168.1.42 -> 192.168.1.30 IMAP Request: 1 capability
   0.092110 192.168.1.30 -> 192.168.1.42 TCP 143 > 32822 [ACK] 
Seq=1044389280 Ack=3905136524 Win=32120 Len=0
   0.092902 192.168.1.30 -> 192.168.1.42 IMAP Response: * CAPABILITY 
IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS 
ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=GSSAPI 
AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE
   0.093044 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [ACK] 
Seq=3905136524 Ack=1044389578 Win=6432 Len=0
  18.940461 192.168.1.42 -> 192.168.1.30 IMAP Request: 2 authenticate 
CRAM-MD5
  18.942770 192.168.1.30 -> 192.168.1.42 IMAP Response: + 
PDEwMDI0MDA0NTkuMTYyNjk3OThAbWFpbC5iZWNrZWZlbGQtb25saW5lLmRlPg==
  18.942906 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [ACK] 
Seq=3905136549 Ack=1044389646 Win=6432 Len=0
  18.945945 192.168.1.42 -> 192.168.1.30 IMAP Request: 
aGFqbyBlZTNmYWZmZTNhYTY3YmNhYjJkOWMyNzI1ZWY3ZmE1NQ==
  18.947351 192.168.1.30 -> 192.168.1.42 TCP 143 > 32822 [FIN, ACK] 
Seq=1044389646 Ack=3905136603 Win=32120 Len=0
  18.947844 192.168.1.42 -> 192.168.1.30 TCP 32822 > 143 [FIN, ACK] 
Seq=3905136603 Ack=1044389647 Win=6432 Len=0
  18.947910 192.168.1.30 -> 192.168.1.42 TCP 143 > 32822 [ACK] 
Seq=1044389647 Ack=3905136604 Win=32120 Len=0
  39.309910 192.168.1.42 -> 192.168.1.30 TCP 32823 > 143 [SYN] 
Seq=3941702989 Ack=0 Win=5840 Len=0
  39.309989 192.168.1.30 -> 192.168.1.42 TCP 143 > 32823 [SYN, ACK] 
Seq=1075223227 Ack=3941702990 Win=32120 Len=0
  39.310095 192.168.1.42 -> 192.168.1.30 TCP 32823 > 143 [ACK] 
Seq=3941702990 Ack=1075223228 Win=5840 Len=0
  39.338670 192.168.1.30 -> 192.168.1.42 IMAP Response: * OK 
mail.beckefeld-online.de Cyrus IMAP4 v2.1.16 server ready
  39.338816 192.168.1.42 -> 192.168.1.30 TCP 32823 > 143 [ACK] 
Seq=3941702990 Ack=1075223292 Win=5840 Len=0
  39.340664 192.168.1.42 -> 192.168.1.30 IMAP Request: 1 authenticate 
CRAM-MD5
  39.340693 192.168.1.30 -> 192.168.1.42 TCP 143 > 32823 [ACK] 
Seq=1075223292 Ack=3941703015 Win=32120 Len=0
  39.341607 192.168.1.30 -> 192.168.1.42 IMAP Response: + 
PDE1MzU0OTExOTguMTYyNjk4MTlAbWFpbC5iZWNrZWZlbGQtb25saW5lLmRlPg==
  39.342251 192.168.1.42 -> 192.168.1.30 IMAP Request: 
aGFqbyAxNjMyOWMxYmNkZTU2NjcyNDYyM2E4MWZjZDRjNDE4Yw==
  39.343623 192.168.1.30 -> 192.168.1.42 TCP 143 > 32823 [FIN, ACK] 
Seq=1075223360 Ack=3941703069 Win=32120 Len=0
  39.343959 192.168.1.42 -> 192.168.1.30 TCP 32823 > 143 [FIN, ACK] 
Seq=3941703069 Ack=1075223361 Win=5840 Len=0
  39.344020 192.168.1.30 -> 192.168.1.42 TCP 143 > 32823 [ACK] 
Seq=1075223361 Ack=3941703070 Win=32120 Len=0


Mozilla-1.5 - working fine
71.562022 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [SYN] Seq=6745490 
Ack=0 Win=5840 Len=0
  71.562078 192.168.1.30 -> 192.168.1.20 TCP 143 > 35151 [SYN, ACK] 
Seq=1119348975 Ack=6745491 Win=32120 Len=0
  71.562163 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745491 Ack=1119348976 Win=5840 Len=0
  71.590771 192.168.1.30 -> 192.168.1.20 IMAP Response: * OK 
mail.beckefeld-online.de Cyrus IMAP4 v2.1.16 server ready
  71.590930 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745491 Ack=1119349040 Win=5840 Len=0
  71.776691 192.168.1.20 -> 192.168.1.30 IMAP Request: 1 capability
  71.776728 192.168.1.30 -> 192.168.1.20 TCP 143 > 35151 [ACK] 
Seq=1119349040 Ack=6745505 Win=32120 Len=0
71.777610 192.168.1.30 -> 192.168.1.20 IMAP Response: * CAPABILITY IMAP4 
IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID 
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=GSSAPI 
AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE
  71.777710 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745505 Ack=1119349338 Win=6432 Len=0
  77.325221 192.168.1.20 -> 192.168.1.30 IMAP Request: 3 login "hajo" 
"xxxxxxxx"
  77.329306 192.168.1.30 -> 192.168.1.20 IMAP Response: 3 OK User logged in
  77.329418 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745532 Ack=1119349359 Win=6432 Len=0
  77.376967 192.168.1.20 -> 192.168.1.30 IMAP Request: 4 namespace
  77.377571 192.168.1.30 -> 192.168.1.20 IMAP Response: * NAMESPACE 
(("INBOX." ".")) (("user." ".")) (("" "."))
  77.377664 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745545 Ack=1119349432 Win=6432 Len=0
  77.437998 192.168.1.20 -> 192.168.1.30 IMAP Request: 5 lsub "" "INBOX.*"
  77.455430 192.168.1.30 -> 192.168.1.20 TCP 143 > 35151 [ACK] 
Seq=1119349432 Ack=6745566 Win=32120 Len=0
  77.457116 192.168.1.30 -> 192.168.1.20 IMAP Response: * LSUB () "." 
"INBOX.1und1"
  77.457356 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745566 Ack=1119350521 Win=8712 Len=0
  77.510733 192.168.1.20 -> 192.168.1.30 IMAP Request: 6 lsub "" "user.*"
  77.511270 192.168.1.30 -> 192.168.1.20 IMAP Response: 6 OK Completed 
(0.000 secs 1 calls)
  77.511338 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745586 Ack=1119350558 Win=8712 Len=0
  77.566933 192.168.1.20 -> 192.168.1.30 IMAP Request: 7 lsub "" "*"
  77.568878 192.168.1.30 -> 192.168.1.20 IMAP Response: * LSUB () "." 
"INBOX.1und1"
  77.569059 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745601 Ack=1119351647 Win=10890 Len=0
  77.640633 192.168.1.20 -> 192.168.1.30 IMAP Request: 8 list "" "INBOX"
  77.642127 192.168.1.30 -> 192.168.1.20 IMAP Response: * LIST 
(\HasChildren) "." "INBOX"
  77.642245 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745620 Ack=1119351720 Win=10890 Len=0
  77.729098 192.168.1.20 -> 192.168.1.30 IMAP Request: 9 select "INBOX"
  77.733360 192.168.1.30 -> 192.168.1.20 IMAP Response: * FLAGS 
(\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk)
  77.733577 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745638 Ack=1119351980 Win=10890 Len=0
  77.791050 192.168.1.20 -> 192.168.1.30 IMAP Request: 10 getacl "INBOX"
  77.791557 192.168.1.30 -> 192.168.1.20 IMAP Response: * ACL INBOX hajo 
lrswipcda
  77.791645 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745657 Ack=1119352025 Win=10890 Len=0
  77.847381 192.168.1.20 -> 192.168.1.30 IMAP Request: 11 myrights "INBOX"
  77.847821 192.168.1.30 -> 192.168.1.20 IMAP Response: * MYRIGHTS INBOX 
lrswipcda
  77.847917 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745678 Ack=1119352070 Win=10890 Len=0
  77.923397 192.168.1.20 -> 192.168.1.30 IMAP Request: 12 getquotaroot 
"INBOX"
  77.923941 192.168.1.30 -> 192.168.1.20 IMAP Response: * QUOTAROOT INBOX
  77.924045 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745703 Ack=1119352106 Win=10890 Len=0
  77.976822 192.168.1.20 -> 192.168.1.30 IMAP Request: 13 UID fetch 1:* 
(FLAGS)
  77.978233 192.168.1.30 -> 192.168.1.20 IMAP Response: * 1 FETCH (FLAGS 
(\Seen) UID 1775)
  77.978249 192.168.1.30 -> 192.168.1.20 IMAP Response: AGS (\Seen) UID 
3389)
  77.978264 192.168.1.30 -> 192.168.1.20 IMAP Response: * 75 FETCH 
(FLAGS (\Seen) UID 3515)
  77.978624 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745729 Ack=1119353554 Win=13032 Len=0
  77.978637 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745729 Ack=1119355002 Win=15928 Len=0
  77.978666 192.168.1.20 -> 192.168.1.30 TCP 35151 > 143 [ACK] 
Seq=6745729 Ack=1119356140 Win=18824 Len=0







More information about the Info-cyrus mailing list